Fix facsimiles

This commit is contained in:
Dimitris Zlatanidis 2015-07-17 06:18:48 +03:00
parent 38375565f0
commit 0e64641634

View file

@ -314,12 +314,12 @@ class SBoInstall(object):
if find: if find:
inst_pkg = split_package(find[0])[0] inst_pkg = split_package(find[0])[0]
if inst_pkg == pkg: if inst_pkg == pkg:
print("{0}[ Upgrading ] --> {1}{2}".format( print("[ {0}Upgrading{1} ] --> {2}".format(
self.meta.color["YELLOW"], self.meta.color["YELLOW"],
self.meta.color["ENDC"], pkg)) self.meta.color["ENDC"], pkg))
upgraded.append(prgnam) upgraded.append(prgnam)
else: else:
print("{0}[ Installing ] --> {1}{2}".format( print("[ {0}Installing{1} ] --> {2}".format(
self.meta.color["GREEN"], self.meta.color["ENDC"], pkg)) self.meta.color["GREEN"], self.meta.color["ENDC"], pkg))
installs.append(prgnam) installs.append(prgnam)
PackageManager(binary).upgrade(flag="--install-new") PackageManager(binary).upgrade(flag="--install-new")