summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortron <tron>1999-08-18 07:47:37 +0000
committertron <tron>1999-08-18 07:47:37 +0000
commit0d7bfea1f3aba51dda291605488b1621c693b835 (patch)
tree2059080ebadc164681452433a12b57837faacebc /print
parentf34c2431399cd563ae6ec4d8433b1ef82d68c71a (diff)
downloadpkgsrc-0d7bfea1f3aba51dda291605488b1621c693b835.tar.gz
Don't print message twice during installation.
Diffstat (limited to 'print')
-rwxr-xr-xprint/teTeX/pkg/INSTALL27
1 files changed, 14 insertions, 13 deletions
diff --git a/print/teTeX/pkg/INSTALL b/print/teTeX/pkg/INSTALL
index ae0d47a43c8..35c398ede41 100755
--- a/print/teTeX/pkg/INSTALL
+++ b/print/teTeX/pkg/INSTALL
@@ -1,25 +1,26 @@
#! /bin/sh
#
-# $NetBSD: INSTALL,v 1.2 1998/08/07 11:11:33 agc Exp $
+# $NetBSD: INSTALL,v 1.3 1999/08/18 07:47:37 tron Exp $
#
-if [ "$PREFIX" = "" ]
-then
- PREFIX=/usr/pkg
-fi
-
-TEXMF=$PREFIX/share/texmf
-
-
-cat <<EOT
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ cat <<EOT
---------------------------------------------------------------------------
-You may consider running $PREFIX/bin/texconfig to adjust for your
+You may consider running ${PKG_PREFIX}/bin/texconfig to adjust for your
local environment, e.g. configure font generation to use a temporary
directory.
-For further information have a look at $TEXMF/doc/tetex/.
+For further information have a look at ${PKG_PREFIX}/share/texmf/doc/tetex/.
---------------------------------------------------------------------------
-
EOT
+ ;;
+ *)
+ echo "Unexpected Argument $2!!"
+ exit 1
+ ;;
+esac
exit 0