install.sh 328 B

1234567891011121314151617
  1. #!/bin/sh
  2. echo "WARNING: this script is deprecated. Use the install.py script instead." 1>&2
  3. SCRIPT_DIR=$(dirname $0 || exit $?)
  4. command_exists() {
  5. command -v "$1" >/dev/null 2>&1 ;
  6. }
  7. PYTHON_BINARY=python
  8. if command_exists python2; then
  9. PYTHON_BINARY=python2
  10. fi
  11. $PYTHON_BINARY "$SCRIPT_DIR/install.py" "$@" || exit $?