Browse Source

Fix pkg function on update_config

develop
Mike Hiretsky 10 years ago
parent
commit
32f3dcef35
  1. 6
      pym/cl_template.py

6
pym/cl_template.py

@ -2785,11 +2785,17 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction):
pkgs)
installProg = self.sharePkg(pkgs)
replace = self.pkg(nameProg, installProg)
oldInstallProg = self.installProg
self.installProg = {}
self.installProg.update(installProg)
self.installProg.update(oldInstallProg)
else:
if not self.flagAllPkgScan:
installProg = self.getInstallPkgGentoo()
oldInstallProg = self.installProg
self.installProg = {}
self.installProg.update(installProg)
self.installProg.update(oldInstallProg)
templateFunction.flagAllPkgScan = True
replace = self.pkg(nameProg, self.installProg)
textTemplateTmp = textTemplateTmp[:resS.start()] + replace +\

Loading…
Cancel
Save