![Ulf Lamping](/assets/img/avatar_default.png)
I don't have the facility to test this, hopefully Frederic knows what he's doing :-) However, this was out of date since a long time ago, so can't get worse anyway... svn path=/trunk/; revision=13754
39 lines
602 B
Bash
39 lines
602 B
Bash
#! /bin/sh -e
|
|
|
|
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
|
|
|
|
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
|
|
|