aboutsummaryrefslogtreecommitdiff
path: root/textproc/ppower4/pkg-deinstall
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-12-08 10:12:20 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-12-08 10:12:20 +0000
commitfe22788ad9940898223a9d928e18735d4565f640 (patch)
tree430c5b0033326af45ca59c66a4b78ec8bfbdc941 /textproc/ppower4/pkg-deinstall
parent4375b96f29109a30b96a73146ad0d5206a01513b (diff)
Notes
Diffstat (limited to 'textproc/ppower4/pkg-deinstall')
-rw-r--r--textproc/ppower4/pkg-deinstall13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/ppower4/pkg-deinstall b/textproc/ppower4/pkg-deinstall
new file mode 100644
index 000000000000..f49ad2595ff4
--- /dev/null
+++ b/textproc/ppower4/pkg-deinstall
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ "$2" = "POST-DEINSTALL" ]; then
+ echo "Updating content cache to let LaTeX know about the new style files:"
+ if [ -x ${PKG_PREFIX}/bin/mktexlsr ]; then
+ ${PKG_PREFIX}/bin/mktexlsr
+ elif [ -x /usr/local/bin/mktexlsr ]; then
+ /usr/local/bin/mktexlsr
+ else
+ echo "Could not find mktexlsr. Please run it manually to update"
+ echo "LaTeX's content cache."
+ fi
+fi