wireshark/debian/ethereal-dev.postinst
Ulf Lamping e7a72ba624 from Frederic Peters: bring debian package generation .deb up to date
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
2005-03-14 20:46:46 +00:00

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