summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:12:36 +0000
committerjoey <joey>1999-08-17 05:12:36 +0000
commit6a33d33fd003b6d2f2864d700beb04b466c138b2 (patch)
tree49e7a3ab0bfcecb800abeb6c0d7656ccf31fe57e /autoscripts
parentf2e26db089daaeaa9e9821f01af0aab7b42b9dde (diff)
downloaddebhelper-6a33d33fd003b6d2f2864d700beb04b466c138b2.tar.gz
r195: Initial Import
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postinst-suid2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid
index de638efe..83f2f09f 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#
-else
+elif [ -e #FILE# ]; then
chown #OWNER#.#GROUP# /#FILE#
chmod #PERMS# /#FILE#
fi