POSTIN
/bin/sh
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi # 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" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi