]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-python
r1809: releasing version 5.0.2
[debhelper.git] / autoscripts / postinst-python
1 PYTHON=#PYVER#
2 if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; 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