File: 0001-Debian_quirks.patch

package info (click to toggle)
fortunes-cs 2.0.9-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,648 kB
  • sloc: sh: 61; makefile: 45; csh: 16; tcl: 7
file content (47 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (2)
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
44
45
46
47
From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@debian.org>
Date: Fri, 11 Mar 2016 15:52:24 +0100
Subject: Debian_quirks

---
 install.sh | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

--- fortunes-cs.orig/install.sh
+++ fortunes-cs/install.sh
@@ -11,7 +11,7 @@
 ###  posilat na adresu <zdenekZAVpytela.net>.
 
 VERZE="2.0.9"
-FORTUNE="/usr/bin/fortune"
+FORTUNE="/usr/games/fortune"
 STRFILE="/usr/sbin/strfile"
 STRFILEALT="/usr/bin/strfile"
 
@@ -70,16 +70,17 @@ then
 fi
 
 ### dialog skripty, odkaz pro menu, ikonka
-if install -d $GAMESDIR; then
- install -m755 src/fortune-cs.tk $GAMESDIR
- install -m755 src/fortune-cs.sh $GAMESDIR
-fi
-install -d $APPSDIR \
-&& install -m644 src/fortune-cs.desktop $APPSDIR
-install -d $PIXMAPDIR \
-&& install -m644 src/smile35x34.xpm $PIXMAPDIR
+#if install -d $GAMESDIR; then
+# install -m755 src/fortune-cs.tk $GAMESDIR
+# install -m755 src/fortune-cs.sh $GAMESDIR
+#fi
+#install -d $APPSDIR \
+#&& install -m644 src/fortune-cs.desktop $APPSDIR
+#install -d $PIXMAPDIR \
+#&& install -m644 src/smile35x34.xpm $PIXMAPDIR
 
 ### Zkouska: funguje to?
-[ -x $FORTUNE ] && $FORTUNE $FORTUNESDIR/cs > /dev/null
-exit $?
+#[ -x $FORTUNE ] && $FORTUNE $FORTUNESDIR/cs > /dev/null
+#exit $?
 
+exit 0