2015-08-20 01:28:32 -04:00
|
|
|
#!/bin/sh
|
2013-02-06 11:16:49 -05:00
|
|
|
|
2015-04-20 19:10:12 -04:00
|
|
|
echo "WARNING: this script is deprecated. Use the install.py script instead." 1>&2
|
2013-04-09 21:36:59 -04:00
|
|
|
|
2014-05-15 22:21:04 -04:00
|
|
|
|
2015-04-20 19:10:12 -04:00
|
|
|
SCRIPT_DIR=$(dirname $0 || exit $?)
|
2014-05-15 22:21:04 -04:00
|
|
|
|
2015-01-18 13:10:23 -05:00
|
|
|
command_exists() {
|
|
|
|
command -v "$1" >/dev/null 2>&1 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
PYTHON_BINARY=python
|
|
|
|
if command_exists python2; then
|
|
|
|
PYTHON_BINARY=python2
|
|
|
|
fi
|
|
|
|
|
2015-04-20 19:10:12 -04:00
|
|
|
$PYTHON_BINARY "$SCRIPT_DIR/install.py" "$@" || exit $?
|