mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Updated
This commit is contained in:
parent
47f3447313
commit
ccaeea46d3
3 changed files with 4 additions and 5 deletions
|
@ -126,7 +126,7 @@ class BinaryInstall(object):
|
||||||
self.tmp_path, self.install)
|
self.tmp_path, self.install)
|
||||||
ins, upg = self.install_packages()
|
ins, upg = self.install_packages()
|
||||||
Msg().reference(ins, upg)
|
Msg().reference(ins, upg)
|
||||||
self.deps_tree()
|
self.update_deps()
|
||||||
write_deps(self.deps_dict)
|
write_deps(self.deps_dict)
|
||||||
delete(self.tmp_path, self.install)
|
delete(self.tmp_path, self.install)
|
||||||
else:
|
else:
|
||||||
|
@ -135,7 +135,7 @@ class BinaryInstall(object):
|
||||||
print("") # new line at exit
|
print("") # new line at exit
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
def deps_tree(self):
|
def update_deps(self):
|
||||||
"""Update dependencies dictionary with all package
|
"""Update dependencies dictionary with all package
|
||||||
"""
|
"""
|
||||||
for dep in self.dependencies:
|
for dep in self.dependencies:
|
||||||
|
|
|
@ -132,7 +132,7 @@ class SBoInstall(object):
|
||||||
print("") # new line at exit
|
print("") # new line at exit
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
def deps_tree(self):
|
def update_deps(self):
|
||||||
"""Update dependencies dictionary with all package
|
"""Update dependencies dictionary with all package
|
||||||
"""
|
"""
|
||||||
for dep in self.one_for_all(self.deps):
|
for dep in self.one_for_all(self.deps):
|
||||||
|
@ -145,7 +145,7 @@ class SBoInstall(object):
|
||||||
if self.master_packages and Msg().answer() in ["y", "Y"]:
|
if self.master_packages and Msg().answer() in ["y", "Y"]:
|
||||||
installs, upgraded = self.build_install()
|
installs, upgraded = self.build_install()
|
||||||
Msg().reference(installs, upgraded)
|
Msg().reference(installs, upgraded)
|
||||||
self.deps_tree()
|
self.update_deps()
|
||||||
write_deps(self.deps_dict)
|
write_deps(self.deps_dict)
|
||||||
delete(self.build_folder)
|
delete(self.build_folder)
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ class TrackingDeps(object):
|
||||||
if allready installed and color red
|
if allready installed and color red
|
||||||
if not installed.
|
if not installed.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, name, repo, flag):
|
def __init__(self, name, repo, flag):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.repo = repo
|
self.repo = repo
|
||||||
|
|
Loading…
Reference in a new issue