This avoids interference with statoverrides specified manually
by the administrator.
However, if you have a previous version of the package installed,
the old statoverride entry will not be removed automatically.
#!/usr/bin/make -f
%:
dh $@
#!/usr/bin/make -f
%:
dh $@
+
+override_dh_fixperms:
+ dh_fixperms --exclude usr/bin/suidgw
+++ /dev/null
-#!/bin/sh
-set -e
-
-case "$1" in
-configure)
- dpkg-statoverride --list /usr/bin/suidgw >/dev/null || dpkg-statoverride --update --add root root 4755 /usr/bin/suidgw
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-set -e
-
-case "$1" in
-remove)
- dpkg-statoverride --list /usr/bin/suidgw >/dev/null && dpkg-statoverride --remove /usr/bin/suidgw
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-