mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-15 03:41:16 +01:00
update class
This commit is contained in:
parent
592aa1c449
commit
3f26530ea0
1 changed files with 2 additions and 1 deletions
|
@ -59,6 +59,7 @@ class BinaryInstall(object):
|
||||||
self.comp_sum, self.dep_comp_sum = [], []
|
self.comp_sum, self.dep_comp_sum = [], []
|
||||||
self.uncomp_sum, self.dep_uncomp_sum = [], []
|
self.uncomp_sum, self.dep_uncomp_sum = [], []
|
||||||
self.dependencies = []
|
self.dependencies = []
|
||||||
|
self.pkg_ver = []
|
||||||
self.deps_dict = {}
|
self.deps_dict = {}
|
||||||
self.answer = ''
|
self.answer = ''
|
||||||
Msg().reading()
|
Msg().reading()
|
||||||
|
@ -72,7 +73,7 @@ class BinaryInstall(object):
|
||||||
'''
|
'''
|
||||||
try:
|
try:
|
||||||
# fix if packages is for upgrade
|
# fix if packages is for upgrade
|
||||||
self.if_upgrade, self.pkg_ver = if_upgrade, []
|
self.if_upgrade = if_upgrade
|
||||||
if self.if_upgrade:
|
if self.if_upgrade:
|
||||||
self.packages, ver = self.packages[0], self.packages[1]
|
self.packages, ver = self.packages[0], self.packages[1]
|
||||||
self.pkg_ver = ver
|
self.pkg_ver = ver
|
||||||
|
|
Loading…
Reference in a new issue