3 if grep datadir ~
/.abuse
/abuserc
&>/dev
/null
; then
4 if [ ! -d "$(grep datadir ~/.abuse/abuserc | cut -d= -f2)" ]; then
5 echo "Warning: ~/.abuse/abuserc references a datadir which is not existent." >&2
6 echo "Try removing ~/.abuse/abuserc, else abuse will most likely not run." >&2
8 # This can happen if the build hash of abuse changes and the older version
9 # is garbage-collected. The correct path of the datadir is compiled into
10 # the binary, but unfortunately abuse writes out the path into abuserc on
11 # first start. This entry may later become stale.
15 # The timidity bundled into SDL_mixer looks in . and in several global places
16 # like /etc for its configuration file.
18 exec @out@
/bin
/.abuse-bin
"$@"