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']: if self.software['packages']:
for p in self.software['packages'].keys(): for p in self.software['packages'].keys():
if self.software['packages'][p]['repo']: if self.software['packages'][p]['repo']:
pkgname = '{0}/{1}'.format(self.software['packages'][p]['repo'], pkgname = '{0}/{1}'.format(self.software['packages'][p]['repo'], p)
self.software['packages'][p])
else: else:
pkgname = p pkgname = p
pkgr.append(pkgname) pkgr.append(pkgname)