aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/alias-fonts/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/alias-fonts/pkg-install')
-rw-r--r--japanese/alias-fonts/pkg-install7
1 files changed, 3 insertions, 4 deletions
diff --git a/japanese/alias-fonts/pkg-install b/japanese/alias-fonts/pkg-install
index b28bcfd2204c..98d30c641cd6 100644
--- a/japanese/alias-fonts/pkg-install
+++ b/japanese/alias-fonts/pkg-install
@@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
-if [ $1 != "POST-INSTALL" ]; then
+if [ $2 != "POST-INSTALL" ]; then
exit 0
fi
@@ -20,9 +20,8 @@ IFS="
while read line; do
trimmed=${line# *}
case $trimmed in
- !*|"") echo $line;;
- -alias-*) echo $line;;
- *) ;;
+ -alias-*) ;;
+ *) echo $line;;
esac
done < $from > $to