summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poldek-hold-fix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/poldek-hold-fix.patch b/poldek-hold-fix.patch
index 4361016..183e11d 100644
--- a/poldek-hold-fix.patch
+++ b/poldek-hold-fix.patch
@@ -98,7 +98,7 @@
-
- if (fnmatch(mask, dbpkg->pkg->name, 0) == 0) {
+
-+ if (pkgscore_match(&psc, mask) == 0) {
++ if (pkgscore_match(&psc, mask)) {
logn(LOGERR, _("%s: refusing to uninstall held package"),
- pkg_snprintf_s(dbpkg->pkg));
+ pkg_snprintf_s(dbpkg->pkg));