1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
######## CONFIGURATION OPTIONS ########
## Full path to Exaile bin dir
#PROGRAM_DIR="/home/username/apps/exaile"
## Python command to run
#PYTHON2=python2
#######################################
# get the app dir if not already defined
if [ -z "${PROGRAM_DIR}" ]; then
PROGRAM_DIR=`dirname "$0"`
fi
if [ -z "${PYTHON2}" ]; then
if [ "`which python2 2> /dev/null`" ]; then
PYTHON2=python2
else
PYTHON2=python
fi
fi
exec ${PYTHON2} -O ${PROGRAM_DIR}/exaile.py --startgui "$@"
|