Source

SCons / debian / postinst

Diff from to

debian/postinst

 case "$1" in
         configure|abort-upgrade|abort-remove|abort-deconfigure)
                 dpkg --listfiles $NAME | grep '\.py$' | \
-                     xargs -n 1 /usr/bin/python -c 'import py_compile,sys;py_compile.compile(sys.argv[1])'
+                     xargs -n 1 /usr/bin/python2.2 -c 'import py_compile,sys;py_compile.compile(sys.argv[1])'
                 dpkg --listfiles $NAME | grep '\.py$' | \
-                     xargs -n 1 /usr/bin/python -O -c 'import py_compile,sys;py_compile.compile(sys.argv[1])'
+                     xargs -n 1 /usr/bin/python2.2 -O -c 'import py_compile,sys;py_compile.compile(sys.argv[1])'
         ;;
 esac