#!/bin/sh
# This maintainer script was generated by yada

set -e

PACKAGE="lyx-common"
SOURCE="lyx"
VERSION="1.3.4-2"

PYTHON=python2.3
if which $PYTHON >/dev/null 2>&1; then
    DIRLIST="/usr/share/lyx/scripts /usr/share/lyx/lyx2lyx"
    for i in $DIRLIST ; do
        $PYTHON -O /usr/lib/$PYTHON/compileall.py -q $i
        $PYTHON /usr/lib/$PYTHON/compileall.py -q $i
    done
fi

# Package maintainer's commands follow:
if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN /usr/lib/texmf/web2c/texmf.cnf; then
     /usr/bin/texhash
fi
echo -n "Running update-lyxrc... "
update-lyxrc --system >/dev/null
echo "done"
# End of package maintainer's commands

exit 0
