blob: 50f65b5800b380eae2ef9e756de08a51914491e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
diff -Naur noteye/src/rogue.sh noteye.patched/src/rogue.sh
--- noteye/src/rogue.sh 2014-03-06 00:54:36.000000000 -0500
+++ noteye.patched/src/rogue.sh 2014-09-02 14:18:35.000000000 -0400
@@ -5,31 +5,31 @@
if test -e rogue.save
then
- rogue rogue.save
+ ./rogue rogue.save
else
- rogue
+ ./rogue
fi
-elif [ -n "`which rogue`" ]
+elif [ -x /usr/games/rogue ]
then
cd $NOTEYECONFIG
if test -e rogue.save
then
- rogue rogue.save
+ /usr/games/rogue rogue.save
else
- rogue
+ /usr/games/rogue
fi
else
echo Rogue not found on your system.
echo
-echo Make sure that it can be run as \'$2\' or \'./$2\'.
+echo Make sure that it can be run as \'/usr/games/rogue\' or \'./$2\'.
echo
-echo For example, in Ubuntu you can install Rogue with:
+echo For example, in Slackware you can install Rogue with:
echo
-echo sudo apt-get install bsdgames-nonfree
+echo sbopkg -i rogue
echo
echo Otherwise, you can also run it manually from the prompt below.
echo
|