nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 18 lines 772 B view raw
1#! @shell@ 2 3if 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 7 echo >&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. 12 fi 13fi 14 15# The timidity bundled into SDL_mixer looks in . and in several global places 16# like /etc for its configuration file. 17cd @out@/etc 18exec @out@/bin/.abuse-bin "$@"