File: postinst-python

package info (click to toggle)
debhelper 5.0.42
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,332 kB
  • ctags: 64
  • sloc: perl: 2,808; makefile: 234; sh: 6
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