Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 5139f999efeff953da604cd17c57fe05 > scriptlet

lyx-common-2.0.0-0.6.alpha5.fc14.noarch.rpm

POSTIN

/bin/sh
touch --no-create /usr/share/icons/hicolor &> /dev/null || :

POSTUN

/bin/sh
if [ $1 -eq 0 ] ; then
  texhash >& /dev/null
  update-desktop-database -q &> /dev/null
  touch --no-create /usr/share/icons/hicolor &> /dev/null
  gtk-update-icon-cache /usr/share/icons/hicolor &> /dev/null || :
fi

POSTTRANS

/bin/sh
texhash >& /dev/null
update-desktop-database -q &> /dev/null
gtk-update-icon-cache /usr/share/icons/hicolor &> /dev/null || :

## Catch installed/uninstalled helpers
##   not sure if this is really needed anymore, as it seems to be a per-user thing,
##   and besides, we use xdg-open now -- Rex

Triggers

latex2html

/bin/sh
if [ $2 -gt 1 ]; then
cd /usr/share/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
fi

wv

/bin/sh
if [ $2 -eq 0 ]; then
cd /usr/share/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
fi

latex2html

/bin/sh
if [ $2 -gt 1 ]; then
cd /usr/share/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
fi

wv

/bin/sh
if [ $2 -eq 0 ]; then
cd /usr/share/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
fi