diff options
author | Steven Knight <knight@baldmt.com> | 2003-08-20 17:00:00 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-08-20 17:00:00 +0000 |
commit | b8ad44992b38ccbe31ab15d1f60d41b9d9e67c7c (patch) | |
tree | d86afbdaab7b2d22b7c4c04a7b410a0f97bc8791 /debian/postinst | |
parent | 1c0a7d503532ad8b1129192872d15a72c441ad28 (diff) | |
download | scons-b8ad44992b38ccbe31ab15d1f60d41b9d9e67c7c.tar.gz |
Build a Debian package, too.
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst index 1e05a5df..6923e0f5 100644 --- a/debian/postinst +++ b/debian/postinst @@ -10,8 +10,8 @@ NAME=scons 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 |