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