Lines 7-12
Link Here
|
7 |
DESTDIR=${1:-} |
7 |
DESTDIR=${1:-} |
8 |
PREFIX=${2:-/usr/local} |
8 |
PREFIX=${2:-/usr/local} |
9 |
LIBDIR=${3:-/lib} |
9 |
LIBDIR=${3:-/lib} |
|
|
10 |
DEFAULTOPTS=${4} |
10 |
|
11 |
|
11 |
if (which realpath > /dev/null); then |
12 |
if (which realpath > /dev/null); then |
12 |
PREFIX=`realpath $PREFIX` |
13 |
PREFIX=`realpath $PREFIX` |
Lines 30-36
Link Here
|
30 |
fi |
31 |
fi |
31 |
XDG_DATA_DIRS="\$EXAILE_PREFIX/share/:\$XDG_DATA_DIRS" |
32 |
XDG_DATA_DIRS="\$EXAILE_PREFIX/share/:\$XDG_DATA_DIRS" |
32 |
export XDG_DATA_DIRS |
33 |
export XDG_DATA_DIRS |
33 |
exec python \$EXAILE_PREFIX$LIBDIR/exaile/exaile.py --datadir=\$EXAILE_PREFIX/share/exaile/data --startgui "\$@" |
34 |
exec python \$EXAILE_PREFIX$LIBDIR/exaile/exaile.py --datadir=\$EXAILE_PREFIX/share/exaile/data $DEFAULTOPTS --startgui "\$@" |
34 |
exit \$? |
35 |
exit \$? |
35 |
|
36 |
|
36 |
EOF |
37 |
EOF |