File: postinst-python

package info (click to toggle)
debhelper 7.0.15
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,468 kB
  • ctags: 80
  • sloc: perl: 3,434; makefile: 232; sh: 7
file content (7 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (6)
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