summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-11-08 18:22:45 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-11-08 18:22:45 +0000
commita980e68083bb8d43267acee8c85bcc40c42e8310 (patch)
tree04f98d1d82050ea67bf1cad2b9b513eb8945398e /media-sound/aumix
parentRemoved explicit dependencies on libc and wget since these two are in the sys... (diff)
downloadgentoo-2-a980e68083bb8d43267acee8c85bcc40c42e8310.tar.gz
gentoo-2-a980e68083bb8d43267acee8c85bcc40c42e8310.tar.bz2
gentoo-2-a980e68083bb8d43267acee8c85bcc40c42e8310.zip
Fixed missing -E option to grep. Closes bug #84412.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-sound/aumix')
-rw-r--r--media-sound/aumix/files/aumix.rc65
1 files changed, 2 insertions, 3 deletions
diff --git a/media-sound/aumix/files/aumix.rc6 b/media-sound/aumix/files/aumix.rc6
index 21430103ec8a..11562dc47eb7 100644
--- a/media-sound/aumix/files/aumix.rc6
+++ b/media-sound/aumix/files/aumix.rc6
@@ -1,15 +1,14 @@
#!/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.10 2005/07/07 19:36:39 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/files/aumix.rc6,v 1.11 2005/11/08 18:22:45 eradicator Exp $
depend() {
use modules hotplug coldplug alsasound
}
checkconfig() {
- if ! grep -q '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."