chiark / gitweb /
fixes
[xfonts-traditional] / debian / xfonts-traditional.prerm
old mode 100644 (file)
new mode 100755 (executable)
index a2786a6..8b1ed6b
@@ -7,11 +7,11 @@ case "$1" in
 
 remove)
 
-       echo 'Checking that "fixed" is not from xfonts-traditional..."
+       echo 'Checking that "fixed" is not from xfonts-traditional...'
 
        if grep '^fixed[         ][      ]*-trad-'; then
-               cat >&2 <<END
-Removing xfonts-traditional would probably your X server by removing "fixed".
+               cat >&2 <<'END'
+Removing xfonts-traditional would break your X server by removing "fixed".
 
 You should not remove xfonts-traditional while "fixed" refers to one
 of its fonts.  You probably want to check the differences between
@@ -27,19 +27,19 @@ END
                esac
        fi
 
-       ;;
-
        find /usr/share/fonts/X11 /usr/local/share/fonts/X11 \
                   -type f \
                \( -name xfonts-traditional.log -o \
                   -name xfonts-traditional.done -o 
                   -name xfonts-traditional.done.new -o 
                   -name trad--\*.pcf.gz.new \) \
-               -print0 | xargs -0r rm
+               -print0 | xargs -0r rm --
 
        find /usr/share/fonts/X11 /usr/local/share/fonts/X11 \
                   -type f \
                   -name trad--\*.pcf.gz \
-               -print0 | xargs -0r rm
+               -print0 | xargs -0r rm --
+
+       ;;
 
 esac