Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/pulseaudio/files: pulseaudio.init.d-4
Date: Mon, 22 Jun 2009 10:57:24
Message-Id: E1MIhDF-0007qH-Ti@stork.gentoo.org
1 flameeyes 09/06/22 10:57:21
2
3 Modified: pulseaudio.init.d-4
4 Log:
5 Don't use bashism in the init script.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 media-sound/pulseaudio/files/pulseaudio.init.d-4
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4?r1=1.2&r2=1.3
14
15 Index: pulseaudio.init.d-4
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- pulseaudio.init.d-4 15 Jun 2009 15:04:52 -0000 1.2
22 +++ pulseaudio.init.d-4 22 Jun 2009 10:57:21 -0000 1.3
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2004 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4,v 1.2 2009/06/15 15:04:52 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4,v 1.3 2009/06/22 10:57:21 flameeyes Exp $
29
30 depend() {
31 need localmount
32 @@ -59,7 +59,7 @@
33 }
34
35 start() {
36 - if [[ -z ${PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE} ]]; then
37 + if [ -z "${PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE}" ]; then
38 eerror "Please don't use system wide PulseAudio unless you read the"
39 eerror "documentation available at http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode"
40 eerror ""