aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-12-05 01:09:36 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-12-05 01:09:36 +0000
commite1c79571a910f9bb4c695adcb668cb1873b5f8a5 (patch)
tree24364f0226869c6906ed2c5c8036cfcbf53c0bee
parent23626d1993a66b4db8f1ac1befc35ac32bf55f5a (diff)
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)).
-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.