aboutsummaryrefslogtreecommitdiff
path: root/japanese/alias-fonts/pkg-install
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2011-09-03 00:10:39 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2011-09-03 00:10:39 +0000
commitb74be3041daec2cde3b720a3bb54010144f94463 (patch)
treeed83fea9683ddfab52f20d10e38a020cee835957 /japanese/alias-fonts/pkg-install
parent5e8b53e83c6577e7e9865fc69d74ddfed624efe7 (diff)
downloadports-b74be3041daec2cde3b720a3bb54010144f94463.tar.gz
ports-b74be3041daec2cde3b720a3bb54010144f94463.zip
Notes
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