aboutsummaryrefslogtreecommitdiffstats
path: root/games/xteddy/files/patch-xteddy_test
blob: da245c7c9d67ce07420e025aacb85a9e7c43591e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- xteddy_test.orig    Mon Nov 14 23:33:19 2005
+++ xteddy_test Mon Nov 14 23:33:37 2005
@@ -1,9 +1,9 @@
 #!/bin/sh
 i=0
-if [ -d /usr/share/xteddy ] ; then
-  for img in `ls /usr/share/xteddy` ; do
+if [ -d %%DATADIR%% ] ; then
+  for img in `ls %%DATADIR%%` ; do
     i=`expr $i + 50`
-    xteddy -F/usr/share/xteddy/$img -geometry +$i+$i &
+    xteddy -F%%DATADIR%%/$img -geometry +$i+$i &
   done
 fi
 if [ -d /usr/local/share/xteddy ] ; then