aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-12-05 09:09:36 +0800
committerasami <asami@FreeBSD.org>1996-12-05 09:09:36 +0800
commitdc5777d318f1d4ad5a668b473e38876f6a137aab (patch)
treec7486181e3f0b52496cc9160b3b722a250eb6410 /math
parent830741830abb2191fc1e2ab129055454df4da3d8 (diff)
downloadfreebsd-ports-gnome-dc5777d318f1d4ad5a668b473e38876f6a137aab.tar.gz
freebsd-ports-gnome-dc5777d318f1d4ad5a668b473e38876f6a137aab.tar.zst
freebsd-ports-gnome-dc5777d318f1d4ad5a668b473e38876f6a137aab.zip
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')
-rw-r--r--math/wingz/pkg-install4
-rw-r--r--math/wingz3/pkg-install4
2 files changed, 8 insertions, 0 deletions
diff --git a/math/wingz/pkg-install b/math/wingz/pkg-install
index 43d01c1cc5e0..7528641e423f 100644
--- a/math/wingz/pkg-install
+++ b/math/wingz/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.
diff --git a/math/wingz3/pkg-install b/math/wingz3/pkg-install
index 43d01c1cc5e0..7528641e423f 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.