Fix facsimiles

This commit is contained in:
Dimitris Zlatanidis 2015-07-18 03:53:20 +03:00
parent 1dbdfbc1b2
commit 0b1ff2a44b

View file

@ -188,7 +188,8 @@ class Patches(object):
check_md5(pkg_checksum(pkg, "slack_patches"), self.patch_path + pkg) check_md5(pkg_checksum(pkg, "slack_patches"), self.patch_path + pkg)
pkg_ver = "{0}-{1}".format(split_package(pkg)[0], pkg_ver = "{0}-{1}".format(split_package(pkg)[0],
split_package(pkg)[1]) split_package(pkg)[1])
if find_package(split_package(pkg)[0] + "-", self.meta.pkg_path): if find_package(split_package(pkg)[0] + self.meta.sp,
self.meta.pkg_path):
print("[ {0}upgrading{1} ] --> {2}".format( print("[ {0}upgrading{1} ] --> {2}".format(
self.meta.color["YELLOW"], self.meta.color["ENDC"], self.meta.color["YELLOW"], self.meta.color["ENDC"],
pkg[:-4])) pkg[:-4]))