aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/canna-lib
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-11-11 16:27:53 +0800
committermax <max@FreeBSD.org>1996-11-11 16:27:53 +0800
commita446ea83733c8476cf2147218da2f6bcfa11f2a4 (patch)
tree795b0607e68ce291fb8df37c8c518f11fe6ffa3c /japanese/canna-lib
parent7e32bcca2561b794cdcd97b1a7ef59ec671d84e9 (diff)
downloadfreebsd-ports-graphics-a446ea83733c8476cf2147218da2f6bcfa11f2a4.tar.gz
freebsd-ports-graphics-a446ea83733c8476cf2147218da2f6bcfa11f2a4.tar.zst
freebsd-ports-graphics-a446ea83733c8476cf2147218da2f6bcfa11f2a4.zip
Command line argument is checked and exits if $2!=POST-INSTALL.
Diffstat (limited to 'japanese/canna-lib')
-rw-r--r--japanese/canna-lib/pkg-install1
1 files changed, 1 insertions, 0 deletions
diff --git a/japanese/canna-lib/pkg-install b/japanese/canna-lib/pkg-install
index c82c3531e62..df6e13e689f 100644
--- a/japanese/canna-lib/pkg-install
+++ b/japanese/canna-lib/pkg-install
@@ -1,4 +1,5 @@
#!/bin/sh
+if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
(grep -v ^# /etc/services | grep canna >/dev/null) || \
(echo "Now, you need to add following entry to your /etc/services:" ;
echo ;