diff options
Diffstat (limited to 'japanese/alias-fonts/pkg-deinstall')
-rw-r--r-- | japanese/alias-fonts/pkg-deinstall | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/japanese/alias-fonts/pkg-deinstall b/japanese/alias-fonts/pkg-deinstall deleted file mode 100644 index 713caa70a23..00000000000 --- a/japanese/alias-fonts/pkg-deinstall +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ $2 != "DEINSTALL" ]; then - exit 0 -fi - -dir="${PKG_PREFIX}/lib/X11/fonts/local"; -to="$dir/fonts.alias"; -from="$to.orig"; - -if ! mv $to $from; then - echo "Couldn't rename $to." - exit 1 -fi - -IFS=" -" - -while read line; do - trimmed=${line# *} - case $trimmed in - -alias-*) ;; - *) echo $line;; - esac -done < $from > $to - -rm -f $from |