Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > db93f75fb6a31136b078cac0804e1ede > scriptlet

lyx-1.3.5-2mdk.i586.rpm

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 > /dev/null

POSTUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi