summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-xaw
diff options
context:
space:
mode:
authorjoey <joey>2000-12-21 19:35:32 +0000
committerjoey <joey>2000-12-21 19:35:32 +0000
commit1761e99d415d54d6293a611cf25bde66c8a9c634 (patch)
treea13c9a283c8110b8d0dd288d3308a0ede8ed37a0 /autoscripts/prerm-xaw
parentaa6f2f1df86fbe57ea61565236631c02c0b3cb85 (diff)
r403: * dh_installwm: Moved update-alternatives --remove call to prerm,
Closes: #80209 * ALso guarded all update-alternatives --remove calls.
Diffstat (limited to 'autoscripts/prerm-xaw')
-rw-r--r--autoscripts/prerm-xaw9
1 files changed, 5 insertions, 4 deletions
diff --git a/autoscripts/prerm-xaw b/autoscripts/prerm-xaw
index 2507a2f..98837f8 100644
--- a/autoscripts/prerm-xaw
+++ b/autoscripts/prerm-xaw
@@ -1,4 +1,5 @@
-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