POSTIN
/bin/sh
[ -x /usr/bin/update-menus ] && /usr/bin/update-menus || true # Fix the TeX file hash # texhash # Before configuring lyx for the local system # PATH needs to be imported if [ -f /etc/profile ]; then . /etc/profile fi # # Now configure LyX # echo "Configuring LyX for your system..." cd /usr/share/lyx ./configure --srcdir
POSTUN
/bin/sh
if [ "$1" = "0" ]; then [ -x /usr/bin/update-menus ] && /usr/bin/update-menus || true fi