From 0b1ff2a44b5aed3e9c60ea702693a1720c144926 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 18 Jul 2015 03:53:20 +0300 Subject: [PATCH] Fix facsimiles --- slpkg/slack/patches.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slpkg/slack/patches.py b/slpkg/slack/patches.py index 6c6aa694..4a52bb16 100644 --- a/slpkg/slack/patches.py +++ b/slpkg/slack/patches.py @@ -188,7 +188,8 @@ class Patches(object): check_md5(pkg_checksum(pkg, "slack_patches"), self.patch_path + pkg) pkg_ver = "{0}-{1}".format(split_package(pkg)[0], 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( self.meta.color["YELLOW"], self.meta.color["ENDC"], pkg[:-4]))