diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-08-13 03:25:31 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-08-13 03:25:31 (GMT) |
commit | fa19ee19b1048e25a8915c6e9c0c7bef11d28481 (patch) | |
tree | d623ba107f87296c3b7101d5d798e767125ba2f4 /debian/postinst | |
parent | 8a4cdff25c3e2f765c288bc7ef749343ccb7ff4a (diff) | |
download | SCons-fa19ee19b1048e25a8915c6e9c0c7bef11d28481.zip SCons-fa19ee19b1048e25a8915c6e9c0c7bef11d28481.tar.gz SCons-fa19ee19b1048e25a8915c6e9c0c7bef11d28481.tar.bz2 |
Fix Debian build process.
Each release needs to update debian/changelog, and it needs
to be in a particular format since the deb build process
reads and parses it to get the version number in the .deb.
Also fixed a few other deb-build-related errors.
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst index ed8ed5c..6a7d335 100644 --- a/debian/postinst +++ b/debian/postinst @@ -7,7 +7,7 @@ if [ "$1" = "configure" ]; then fi NAME=scons -PYTHON_VERSION=`python -V 2>&1| cut -d" " -f2 | cut -d"." -f0-2` +PYTHON_VERSION=`python -V 2>&1| cut -d" " -f2 | cut -d"." -f1-2` PYTHON_EXE_NAME=`which python$PYTHON_VERSION` case "$1" in configure|abort-upgrade|abort-remove|abort-deconfigure) |