summaryrefslogtreecommitdiffstats
path: root/math/wingz3
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-12-05 01:09:36 +0000
committerasami <asami@FreeBSD.org>1996-12-05 01:09:36 +0000
commitdc5777d318f1d4ad5a668b473e38876f6a137aab (patch)
treec7486181e3f0b52496cc9160b3b722a250eb6410 /math/wingz3
parent830741830abb2191fc1e2ab129055454df4da3d8 (diff)
downloadFreeBSD-ports-dc5777d318f1d4ad5a668b473e38876f6a137aab.zip
FreeBSD-ports-dc5777d318f1d4ad5a668b473e38876f6a137aab.tar.gz
Make pkg_add print the license only once. Note that the INSTALL script
is called twice, once with "PRE-INSTALL" and once with "POST-INSTALL" (cf. pkg_add(1)).
Diffstat (limited to 'math/wingz3')
-rw-r--r--math/wingz3/pkg-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/wingz3/pkg-install b/math/wingz3/pkg-install
index 43d01c1..7528641 100644
--- a/math/wingz3/pkg-install
+++ b/math/wingz3/pkg-install
@@ -1,3 +1,7 @@
+#!/bin/sh
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
cat <<End_Of_License
Wingz 1.4.2 is licensed as shareware defined as follows.
OpenPOWER on IntegriCloud