# HG changeset patch # User d3v11 # Date 1318106312 18000 # Node ID 4714e2a4cc09034e112451da91d33a0ac8937b06 # Parent bd1f56c22102ea400d5b35c587b78d382ced93d5 contrib/splice3 changes made diff -r bd1f56c22102 -r 4714e2a4cc09 contrib/splice3/CHANGES --- a/contrib/splice3/CHANGES Sat Oct 08 10:42:34 2011 -0500 +++ b/contrib/splice3/CHANGES Sat Oct 08 15:38:32 2011 -0500 @@ -68,3 +68,6 @@ d3v11 updated save/restore features for new newest modules. changed --se-create to function as a module. + + fixed setup-deb bug with dependency + checks. diff -r bd1f56c22102 -r 4714e2a4cc09 contrib/splice3/setup-deb --- a/contrib/splice3/setup-deb Sat Oct 08 10:42:34 2011 -0500 +++ b/contrib/splice3/setup-deb Sat Oct 08 15:38:32 2011 -0500 @@ -1,11 +1,4 @@ #!/bin/bash -echo 'checking for python2.7' -if which python2.7 >/dev/null; then - : -else - echo 'python2.7 not found. Quiting... :-(' - exit 1 -fi echo 'checking for man' if which man >/dev/null; then @@ -23,6 +16,18 @@ exit 1 fi +echo 'checking for python2.7' +CheckPython=`dpkg --get-selections python2.7` +if [[ $CheckPython == *deinstall* ]]; then + echo 'python2.7 not found. Quiting... :-(' + exit 1 +elif [[ $CheckPython == '' ]]; then + echo 'python2.7 not found. Quiting... :-(' + exit 1 +else + : +fi + echo 'configuring path to python2.7' PYPATH=`which python2.7` sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp