Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 3e57df8804857d6333a0c038c3a09306 > scriptlet

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