summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-suid
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-suid')
-rw-r--r--autoscripts/postrm-suid4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid
new file mode 100644
index 00000000..340736af
--- /dev/null
+++ b/autoscripts/postrm-suid
@@ -0,0 +1,4 @@
+if [ "$1" = remove -a -e /etc/suid.conf ] && \
+ command -v suidunregister >/dev/null 2>&1; then
+ suidunregister -s #PACKAGE# /#FILE#
+fi