You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
distros-overlay/sys-apps/calculate-update/files/calculate-update-3.2.0_alph...

37 lines
1.5 KiB

diff --git update/emerge_parser.py update/emerge_parser.py
index c19450f..21b12b6 100644
--- update/emerge_parser.py
+++ 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 = {}
diff --git update/update.py update/update.py
index fbb6782..36b4e1c 100644
--- update/update.py
+++ 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),