File: postinst

package info (click to toggle)
openrpg 1.6.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,564 kB
  • ctags: 3,390
  • sloc: python: 25,165; xml: 11,229; makefile: 34; sh: 34
file content (17 lines) | stat: -rw-r--r-- 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

if [ -x /usr/bin/python2.3 ]
then
	PYTHON=python2.3
else
	PYTHON=python2.2
fi
if which $PYTHON >/dev/null 2>&1; then
	DIRLIST=" /usr/share/openrpg"
	for i in $DIRLIST ; do
		$PYTHON -O /usr/lib/$PYTHON/compileall.py -q $i 2> /dev/null
		$PYTHON /usr/lib/$PYTHON/compileall.py -q $i 2> /dev/null
	done
fi

#DEBHELPER#