From 261828684519c4f26c4752d95b77a70c667422a5 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 20 Sep 2015 06:54:29 +0300 Subject: [PATCH] Fixed: 0 package will be installed... Would you like to continue [y/N]? #44 --- slpkg/sbo/slackbuild.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slpkg/sbo/slackbuild.py b/slpkg/sbo/slackbuild.py index b10a9d03..f0459634 100644 --- a/slpkg/sbo/slackbuild.py +++ b/slpkg/sbo/slackbuild.py @@ -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)