Sophie

Sophie

distrib > Mandriva > 7.1 > i586 > by-pkgid > a5ee0a172b4ce2328b65a5a4d5d6cfe9 > scriptlet

lyx-1.1.4-6mdk.i586.rpm

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