summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoscripts/postinst-suid2
-rw-r--r--debian/changelog6
2 files changed, 7 insertions, 1 deletions
diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid
index 83f2f09f..dcc277fd 100644
--- a/autoscripts/postinst-suid
+++ b/autoscripts/postinst-suid
@@ -1,6 +1,6 @@
if command -v suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
suidregister -s #PACKAGE# /#FILE# #OWNER# #GROUP# #PERMS#
-elif [ -e #FILE# ]; then
+elif [ -e /#FILE# ]; then
chown #OWNER#.#GROUP# /#FILE#
chmod #PERMS# /#FILE#
fi
diff --git a/debian/changelog b/debian/changelog
index 5a1bd35f..8208825c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debhelper (1.2.58) unstable; urgency=low
+
+ * autoscripts/postinst-suid: use /#FILE# in elif test (#36297).
+
+ -- Joey Hess <joeyh@master.debian.org> Sun, 18 Apr 1999 22:33:52 -0700
+
debhelper (1.2.57) unstable; urgency=low
* examples/*: killed trailing spaces after diff: target