updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / inform7 / install-inform7.sh.patch
blob294cc39f44eea66ab4a6b18855046e42b6de0d22
1 diff -Nur inform7-5Z71.orig/install-inform7.sh inform7-5Z71/install-inform7.sh
2 --- inform7-5Z71.orig/install-inform7.sh 2009-04-21 08:35:39.000000000 +1000
3 +++ inform7-5Z71/install-inform7.sh 2009-04-25 09:54:03.353936892 +1000
4 @@ -82,10 +82,8 @@
5 tar xzf ${D}/${COMPDEP} || exit 4
6 tar xzf ${D}/${TERPDEP} || exit 4
8 -if [ "$PREFIX" != "/usr/local" ]; then
9 - cmd="s|/usr/local|$PREFIX|;"
10 - perl -p -i -e "$cmd" bin/i7 || exit 6
11 -fi
12 +cmd="s|/usr/local|/usr|;"
13 +perl -p -i -e "$cmd" bin/i7 || exit 6
15 cd ${D}
16 exit 0