summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-python
blob: 5a1943ebb58a90a7ebd2be540bcbee321febee3e (plain)
1
2
3
4
5
6
7
PYTHON=#PYVER#
if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; then
	DIRLIST="#DIRLIST#"
	for i in $DIRLIST ; do
		$PYTHON /usr/lib/$PYTHON/compileall.py -q $i
	done
fi