Fix using updates

master3.3
Mike Hiretsky 12 years ago
parent 0c8117a6c5
commit d6948655e8

@ -3326,7 +3326,7 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
filter(lambda x:x.startswith('move '), filter(lambda x:x.startswith('move '),
readLinesFile(os.path.join('/usr/portage/profiles/updates', readLinesFile(os.path.join('/usr/portage/profiles/updates',
updateFiles[0])))) updateFiles[0]))))
if package in self.cachePortdir: if package in self.cachePortdir["portage/update"]:
self.printWARNING(_("Package {frompkg} was renamed").format(frompkg=package)) self.printWARNING(_("Package {frompkg} was renamed").format(frompkg=package))
return True return True
return False return False

Loading…
Cancel
Save