summaryrefslogtreecommitdiff
path: root/print/lgrind
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>1999-09-08 19:29:16 +0000
committerjwise <jwise@pkgsrc.org>1999-09-08 19:29:16 +0000
commitecbf4f855cde9fae505368de32d0bc837efad400 (patch)
treecdd38b17953e04c069f9f86e691a527061264603 /print/lgrind
parent81e1a47bbcc099a5e80374c5fd48de5a77970085 (diff)
downloadpkgsrc-ecbf4f855cde9fae505368de32d0bc837efad400.tar.gz
Add INSTALL and DEINSTALL scripts, to handle the teTeX ls-R database.
Unfortunately, since DEINSTALL gets run before the actual de-installation (if I understand correctly), the DEINSTALL script advises the user to rebuild the database (and explains how) rather than doing it.
Diffstat (limited to 'print/lgrind')
-rw-r--r--print/lgrind/pkg/DEINSTALL13
-rw-r--r--print/lgrind/pkg/INSTALL9
2 files changed, 22 insertions, 0 deletions
diff --git a/print/lgrind/pkg/DEINSTALL b/print/lgrind/pkg/DEINSTALL
new file mode 100644
index 00000000000..c6459ea8f05
--- /dev/null
+++ b/print/lgrind/pkg/DEINSTALL
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1 1999/09/08 19:29:16 jwise Exp $
+#
+
+echo \
+"===========================================
+When deinstallation is complete, please run
+
+ ${PKG_PREFIX}/bin/texconfig rehash
+
+as root to rebuild the teTeX ls-R database.
+==========================================="
diff --git a/print/lgrind/pkg/INSTALL b/print/lgrind/pkg/INSTALL
new file mode 100644
index 00000000000..e6aff8f97c1
--- /dev/null
+++ b/print/lgrind/pkg/INSTALL
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1 1999/09/08 19:29:16 jwise Exp $
+#
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+${PKG_PREFIX}/bin/texconfig rehash