3 #####################################################################
4 # Find the more apropriate version of jack2-simple-config and run it
5 ##################################################################
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"
16 echo "jack2-simple-config is not installed correctly!"
22 exec python
"$PYTHON_FILE" "$@"