fixing package install bug

This commit is contained in:
brent s 2017-05-07 00:17:26 -04:00
parent 935df2083f
commit f744d7e5d4

View File

@ -850,8 +850,7 @@ class archInstall(object):
if self.software['packages']:
for p in self.software['packages'].keys():
if self.software['packages'][p]['repo']:
pkgname = '{0}/{1}'.format(self.software['packages'][p]['repo'],
self.software['packages'][p])
pkgname = '{0}/{1}'.format(self.software['packages'][p]['repo'], p)
else:
pkgname = p
pkgr.append(pkgname)