Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > by-pkgid > 8f156dd5030f6cbd3e8dfb18020038b2 > scriptlet

lyx-1.2.1-3mdk.x86_64.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