Fixed: 0 package will be installed... Would you like to continue [y/N]? #44

This commit is contained in:
Dimitris Zlatanidis 2015-09-20 06:54:29 +03:00
parent 7c9d8913ef
commit 2618286845

View file

@ -168,7 +168,8 @@ class SBoInstall(object):
def continue_to_install(self):
"""Continue to install ?
"""
if self.master_packages and self.msg.answer() in ["y", "Y"]:
if (self.count_uni > 0 and self.master_packages and
self.msg.answer() in ["y", "Y"]):
installs, upgraded = self.build_install()
self.msg.reference(installs, upgraded)
write_deps(self.deps_dict)