]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/prerm-xaw
r487: * dh_movefiles: Typo, Closes: #106532
[debhelper.git] / autoscripts / prerm-xaw
index 2507a2f5dce136c0371addba51846103bbe2627a..98837f82edb43205f7661bd271da4e420b83915f 100644 (file)
@@ -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