func_Force: Make progress bar a busy indicator
[j2sc.git] / jack2-simple-config
blobede242f7a15bec1db4b4b70c09aaaece673c59e4
1 #!/bin/bash
3 #####################################################################
4 # Find the more apropriate version of jack2-simple-config and run it
5 ##################################################################
7 PYTHON_FILE=""
9 if [ -f ./src/main.py ]; then
10 PYTHON_FILE="./src/main.py"
11 else if [ -f /usr/local/share/jack2-simple-config/main.py ]; then
12 PYTHON_FILE="/usr/local/share/jack2-simple-config/main.py"
13 else if [ -f /usr/share/jack2-simple-config/main.py ]; then
14 PYTHON_FILE="/usr/share/jack2-simple-config/main.py"
15 else
16 echo "jack2-simple-config is not installed correctly!"
17 exit
22 exec python "$PYTHON_FILE" "$@"