updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / defcon / runscript.patch
blobfb7bf8f59f30ed5ad4edd8d838031bba1dce8501
1 --- defcon-old 2007-05-05 19:30:53.000000000 -0700
2 +++ defcon 2007-05-05 19:32:54.000000000 -0700
3 @@ -32,15 +32,7 @@
7 -here="`FindPath $0`"
8 +prefix="/opt/defcon/"
10 -if [ ! -f "$here/lib/sounds.dat" ] ; then
11 - echo "$0: Fatal error: missing sound data files (sounds.dat) in $here/lib"
12 - echo ""
13 - echo "Maybe you are missing sounds.dat (You need to download it"
14 - echo "separately from http://download.introversion.co.uk/defcon/sounds.dat"
15 - echo "and install it in the $here/lib"
16 - exit 1
17 -fi
18 -export LD_LIBRARY_PATH="$here/lib:$LD_LIBRARY_PATH"
19 -$here/lib/defcon.bin.x86 "$@"
20 +export LD_LIBRARY_PATH="$prefix/lib:$LD_LIBRARY_PATH"
21 +$prefix/lib/defcon.bin.x86 "$@"