Closes: #80209
* ALso guarded all update-alternatives --remove calls.
+++ /dev/null
-update-alternatives --remove x-window-manager #WM#
-
--- /dev/null
+if [ "$1" = "remove" ]; then
+ update-alternatives --remove x-window-manager #WM#
+fi
-for opts in #OPTS#; do
- update-alternatives --quiet --remove $opts
-done
-
+if [ "$1" = "remove" ]; then
+ for opts in #OPTS#; do
+ update-alternatives --quiet --remove $opts
+ done
+fi
+debhelper (2.2.8) unstable; urgency=medium
+
+ * dh_installwm: Moved update-alternatives --remove call to prerm,
+ Closes: #80209
+ * ALso guarded all update-alternatives --remove calls.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 21 Dec 2000 11:33:30 -0800
+
debhelper (2.2.7) unstable; urgency=low
* Spelling patch.