]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-python
r1607: * dh_installcatalogs: in prerm on upgrade, call update-catalog on the
[debhelper.git] / autoscripts / postinst-python
1 PYTHON=#PYVER#
2 if which $PYTHON >/dev/null 2>&1; then
3         DIRLIST="#DIRLIST#"
4         for i in $DIRLIST ; do
5                 $PYTHON -O /usr/lib/$PYTHON/compileall.py -q $i
6                 $PYTHON /usr/lib/$PYTHON/compileall.py -q $i
7         done
8 fi