blob: f49ad2595ff4c4f7ba286f21e25f6310c815dab6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
|