]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-suid
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postrm-suid
index 9712d25646e4aa4cd6d1c20e39eece2648b609ee..a4cfecf9a943b25d7d1c6a9810f34863b8b94278 100644 (file)
@@ -1,3 +1,4 @@
-if [ -e /etc/suid.conf -a -x /usr/sbin/suidunregister ]; then
+if [ "$1" = remove ] && [ -e /etc/suid.conf ] && \
+   which suidunregister >/dev/null 2>&1; then
         suidunregister -s #PACKAGE# /#FILE#
 fi