diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-03-25 13:05:51 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-03-25 13:05:51 +0000 |
commit | 6980f9c7c068b64b87033af78401a7eb5fe10325 (patch) | |
tree | 08d08f0f338d9b5044d7dd375e162baf82184992 /media-sound | |
parent | Version bump: keyworded ~amd64, added NEED_PYTHON. Dropped old version. (diff) | |
download | gentoo-2-6980f9c7c068b64b87033af78401a7eb5fe10325.tar.gz gentoo-2-6980f9c7c068b64b87033af78401a7eb5fe10325.tar.bz2 gentoo-2-6980f9c7c068b64b87033af78401a7eb5fe10325.zip |
Remove unnecessary bashism for bug 171689.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/aumix/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/aumix/files/aumix.rc6 | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/media-sound/aumix/ChangeLog b/media-sound/aumix/ChangeLog index 3b7ad000122e..03af59461d76 100644 --- a/media-sound/aumix/ChangeLog +++ b/media-sound/aumix/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/aumix -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/ChangeLog,v 1.61 2006/08/29 01:18:54 metalgod Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/ChangeLog,v 1.62 2007/03/25 13:05:51 drac Exp $ + + 25 Mar 2007; Samuli Suominen <drac@gentoo.org> files/aumix.rc6: + Remove unnecessary bashism for bug 171689. 29 Aug 2006; Luis Medinas <metalgod@gentoo.org> -aumix-2.8-r2.ebuild: Remove older revision that still uses gtk2 use flag. diff --git a/media-sound/aumix/files/aumix.rc6 b/media-sound/aumix/files/aumix.rc6 index 11562dc47eb7..2c1741b3b988 100644 --- a/media-sound/aumix/files/aumix.rc6 +++ b/media-sound/aumix/files/aumix.rc6 @@ -1,21 +1,21 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/files/aumix.rc6,v 1.11 2005/11/08 18:22:45 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/files/aumix.rc6,v 1.12 2007/03/25 13:05:51 drac Exp $ depend() { use modules hotplug coldplug alsasound } checkconfig() { - if ! grep -q -E 'sound|OSS|sparcaudio' /proc/devices && [[ ! -d /proc/asound ]] ; then + if ! grep -q -E 'sound|OSS|sparcaudio' /proc/devices && [ ! -d /proc/asound ] ; then eerror "Sound support has not been compiled into the kernel," eerror "or is disabled. Please check that the correct modules" eerror "is loaded." return 1 fi # /dev/mixer can be a symlink - if [[ ! -e /dev/mixer ]] ; then + if [ ! -e /dev/mixer ] ; then eerror "/dev/mixer does not exist, please create it, or load the" eerror "correct modules to enable your card's mixer" return 1 @@ -24,7 +24,7 @@ checkconfig() { start() { checkconfig || return 1 - if [[ -f /etc/aumixrc ]] ; then + if [ -f /etc/aumixrc ] ; then ebegin "Loading Mixer settings" /usr/bin/aumix -f /etc/aumixrc -L >/dev/null 2>&1 else |