-if [ "$1" == "purge" ] && command -v register-window-manager >/dev/null 2>&1
+if [ "$1" = "purge" ] && command -v register-window-manager >/dev/null 2>&1
then
register-window-manager --remove #WM#
fi
+debhelper (1.2.23) unstable; urgency=low
+
+ * autoscripts/postrm-wm: use "=", not "==" (#31727).
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 11 Jan 1999 13:35:00 -0800
+
debhelper (1.2.22) unstable; urgency=low
* Reversed change in last version; don't clobber mode (#31628).
doit("chown","-R","root.root",$TMP);
doit("chmod","-R","go=rX",$TMP);
doit("chmod","-R","u+rw",$TMP);
+ doit("chmod","-R","a-s",$TMP);
}
$find_options="";
2>/dev/null | xargs -0r chmod go=rX");
complex_doit("find $TMP ! \\( $dh{EXCLUDE_FIND} \\) -print0 \
2>/dev/null | xargs -0r chmod u+rw");
+ complex_doit("find $TMP ! \\( $dh{EXCLUDE_FIND} \\) -print0 \
+ 2>/dev/null | xargs -0r chmod a-s");
$find_options="! \\( $dh{EXCLUDE_FIND} \\)";
}
(excluding files in the examples/ directory) be mode 644. It also changes
the permissions of all man pages to mode 644. It makes all files be owned by
root, and it removes group and other write permission from all files.
-Finally, it removes execute permissions from any libraries that have it set.
+It removes execute permissions from any libraries that have it set. Finally,
+it removes the setuid and setgid bits from all files in the package.
.SH OPTIONS
.TP
.B debhelper options
dh_link
dh_compress
dh_fixperms
+ # You may want to make some executables suid here.
dh_suidregister
dh_installdeb
dh_gencontrol