diff options
Diffstat (limited to 'textproc/ppower4/pkg-deinstall')
-rw-r--r-- | textproc/ppower4/pkg-deinstall | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/ppower4/pkg-deinstall b/textproc/ppower4/pkg-deinstall new file mode 100644 index 0000000..f49ad25 --- /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 |