logilab/doctools

view debian/logilab-doctools.postinst @ 0:cc367abb080e

forget the past. forget the past.
author root
date Wed, 26 Apr 2006 10:48:09 +0000
parents
children 2a723e5b3174
line source
1 #! /bin/sh -e
2 #
5 touch /usr/lib/site-python/logilab/__init__.py
8 # precompile python files
9 VERSION=2.3
10 PACKAGEDIR=/usr/lib/site-python/logilab/doctools
11 case "$1" in
12 configure|abort-upgrade|abort-remove|abort-deconfigure)
13 python$VERSION -O /usr/lib/python$VERSION/compileall.py -q $PACKAGEDIR
14 python$VERSION /usr/lib/python$VERSION/compileall.py -q $PACKAGEDIR
15 ;;
17 *)
18 echo "postinst called with unknown argument \`$1'" >&2
19 exit 1
20 ;;
21 esac
24 #DEBHELPER#
26 exit 0