From: Jaroslav Kysela Date: Wed, 4 Oct 2006 08:33:36 +0000 (+0200) Subject: alsaconf - rcalsasound script does not exists in some distros X-Git-Tag: v1.0.14rc1~11 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f0d1e3cac6302cc81c8964196000f8448dfba85e;p=alsa-utils.git alsaconf - rcalsasound script does not exists in some distros See bug#1505 --- diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index 82d4731..6a7054e 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -911,8 +911,10 @@ BEGIN { in_sound=0; } xecho "Running update-modules..." update-modules fi - echo Loading driver... - $rcalsasound restart + if [ -x $rcalsasound ] ; then + echo Loading driver... + $rcalsasound restart + fi echo Setting default volumes... if [ -x $bindir/set_default_volume ]; then $bindir/set_default_volume -f