Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-misc/xxv/files: xxv.utf8-v4 xxv.utf8-v3
Date: Sat, 02 May 2009 17:39:41
Message-Id: E1M0JBb-0006BF-FD@stork.gentoo.org
1 hd_brummy 09/05/02 17:39:39
2
3 Modified: xxv.utf8-v4 xxv.utf8-v3
4 Log:
5 fixed initscript; thanks to heiliger @vdrportal.de
6 (Portage version: 2.1.6.11/cvs/Linux i686)
7
8 Revision Changes Path
9 1.2 www-misc/xxv/files/xxv.utf8-v4
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/xxv/files/xxv.utf8-v4?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/xxv/files/xxv.utf8-v4?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/xxv/files/xxv.utf8-v4?r1=1.1&r2=1.2
14
15 Index: xxv.utf8-v4
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v4,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- xxv.utf8-v4 2 May 2009 13:11:44 -0000 1.1
22 +++ xxv.utf8-v4 2 May 2009 17:39:39 -0000 1.2
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License, v2 or later
27 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v4,v 1.1 2009/05/02 13:11:44 hd_brummy Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v4,v 1.2 2009/05/02 17:39:39 hd_brummy Exp $
29
30 RUNAS_USER="vdr"
31
32 @@ -41,9 +41,10 @@
33
34 # After unclear stop, xxvd.pid will not removed, fixed with next line
35 if [ ! -x /etc/init.d/root ]; then
36 - [ -e ${PIDFILE} -a ! -L /var/lib/init.d/started/xxv ]
37 - rm ${PIDFILE}
38 - killall xxvd 2> /dev/null
39 + if [ -e ${PIDFILE} -a ! -L /var/lib/init.d/started/xxv ]; then
40 + rm ${PIDFILE}
41 + killall xxvd 2> /dev/null
42 + fi
43 fi
44
45 }
46 @@ -53,10 +54,11 @@
47 # After unclear stop, init file in /var/lib/init.d/started/ still not removed
48
49 if [ ! -x /etc/init.d/root ]; then
50 - [ -L /var/lib/init.d/started/xxv -a ! -e ${PIDFILE} ]
51 - rm /var/lib/init.d/started/xxv
52 - /etc/init.d/xxv zap
53 - killall xxvd 2> /dev/null
54 + if [ -L /var/lib/init.d/started/xxv -a ! -e ${PIDFILE} ]; then
55 + rm /var/lib/init.d/started/xxv
56 + /etc/init.d/xxv zap
57 + killall xxvd 2> /dev/null
58 + fi
59 fi
60
61 }
62
63
64
65 1.2 www-misc/xxv/files/xxv.utf8-v3
66
67 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/xxv/files/xxv.utf8-v3?rev=1.2&view=markup
68 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/xxv/files/xxv.utf8-v3?rev=1.2&content-type=text/plain
69 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/xxv/files/xxv.utf8-v3?r1=1.1&r2=1.2
70
71 Index: xxv.utf8-v3
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v3,v
74 retrieving revision 1.1
75 retrieving revision 1.2
76 diff -u -r1.1 -r1.2
77 --- xxv.utf8-v3 16 Apr 2009 00:28:31 -0000 1.1
78 +++ xxv.utf8-v3 2 May 2009 17:39:39 -0000 1.2
79 @@ -1,7 +1,7 @@
80 #!/sbin/runscript
81 # Copyright 1999-2009 Gentoo Foundation
82 # Distributed under the terms of the GNU General Public License, v2 or later
83 -# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v3,v 1.1 2009/04/16 00:28:31 hd_brummy Exp $
84 +# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v3,v 1.2 2009/05/02 17:39:39 hd_brummy Exp $
85
86 RUNAS_USER="root"
87
88 @@ -44,9 +44,10 @@
89
90 # After unclear stop, xxvd.pid will not removed, fixed with next line
91 if [ ! -x /etc/init.d/root ]; then
92 - [ -e ${PIDFILE} -a ! -L /var/lib/init.d/started/xxv ]
93 - rm ${PIDFILE}
94 - killall xxvd 2> /dev/null
95 + if [ -e ${PIDFILE} -a ! -L /var/lib/init.d/started/xxv ]; then
96 + rm ${PIDFILE}
97 + killall xxvd 2> /dev/null
98 + fi
99 fi
100
101 }
102 @@ -56,10 +57,11 @@
103 # After unclear stop, init file in /var/lib/init.d/started/ still not removed
104
105 if [ ! -x /etc/init.d/root ]; then
106 - [ -L /var/lib/init.d/started/xxv -a ! -e ${PIDFILE} ]
107 - rm /var/lib/init.d/started/xxv
108 - /etc/init.d/xxv zap
109 - killall xxvd 2> /dev/null
110 + if [ -L /var/lib/init.d/started/xxv -a ! -e ${PIDFILE} ]; then
111 + rm /var/lib/init.d/started/xxv
112 + /etc/init.d/xxv zap
113 + killall xxvd 2> /dev/null
114 + fi
115 fi
116
117 }