Browse Source

Изменены условия использования emerge cache

master3.3
Mike khiretskiy 8 years ago
parent
commit
3fa536df81
  1. 3
      update/emerge_parser.py
  2. 4
      update/update.py

3
update/emerge_parser.py

@ -550,8 +550,7 @@ class EmergeCache(object):
# список файлов проверяемый по mtime на изменения
check_list = [MtimeCheckvalue('/etc/make.conf',
'/etc/portage',
'/etc/make.profile',
'/var/cache/edb/binhost')]
'/etc/make.profile')]
def __init__(self):
self.files_control_values = {}

4
update/update.py

@ -384,7 +384,7 @@ class Update:
raise EmergeError(_("File %s not found" % filename))
return self.child
param, packages = self.getCacheOnWorld(param, packages)
param, packages = self.getCacheOnWorld(param, packages, check=True)
param = [param, "-pv"]
#print "PREMERGE",packages,param
@ -438,7 +438,7 @@ class Update:
raise EmergeError(_("File %s not found" % filename))
return self.child
param, packages = self.getCacheOnWorld(param, packages, check=True)
param, packages = self.getCacheOnWorld(param, packages)
#print "EMERGE",packages,param
ask_emerge = self.clVars.Get('cl_update_precheck_set') == 'off'
with EmergeParser(EmergeCommand(list(packages),

Loading…
Cancel
Save