From ffbfb124f942c709352cc1f4c79fd68b7344e0c0 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 1 Oct 2011 14:01:03 -0500 Subject: added configurations to splice3 installations --- contrib/splice3/setup | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 contrib/splice3/setup (limited to 'contrib/splice3/setup') diff --git a/contrib/splice3/setup b/contrib/splice3/setup new file mode 100755 index 0000000..109f9d4 --- /dev/null +++ b/contrib/splice3/setup @@ -0,0 +1,21 @@ +#!/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 + : +else + echo 'man not found. Quiting... :-(' + exit 1 +fi + +echo 'configuring path to python2.7' +PYPATH=`which python2.7` +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3-deshadow.py >LINUX/splice3-deshadow.cp -- cgit v1.2.3