2002-10-26 08:56:39 +00:00
|
|
|
#! /bin/sh -e
|
|
|
|
|
2005-03-14 20:46:46 +00:00
|
|
|
PYTHON=python2.3
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
configure|abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
/usr/bin/$PYTHON -O /usr/lib/$PYTHON/compileall.py -q \
|
|
|
|
/usr/lib/$PYTHON/site-packages/
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
#! /bin/sh -e
|
|
|
|
|
2002-10-26 08:56:39 +00:00
|
|
|
PYTHON=python2.2
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
configure|abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
/usr/bin/$PYTHON -O /usr/lib/$PYTHON/compileall.py -q \
|
|
|
|
/usr/lib/$PYTHON/site-packages/
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|