File: postinst-python

package info (click to toggle)
debhelper 9.20150101
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 2,460 kB
  • sloc: perl: 5,757; makefile: 89; 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