From a98d93674b87fdf302ebb8221b10b35c5b9e822e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 10 Feb 2004 15:58:51 +0000 Subject: [PATCH] - use the bindir and sbindir set by configure script. --- alsaconf/alsaconf.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index 041ba71..70daab7 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -17,6 +17,10 @@ # (at your option) any later version. # +prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +sbindir=@sbindir@ version=@VERSION@ # Check for GNU/Linux distributions @@ -618,8 +622,8 @@ BEGIN { in_sound=0; } echo Loading driver... $rcalsasound start echo Setting default volumes... - if [ -x /usr/bin/set_default_volume ]; then - /usr/bin/set_default_volume -f + if [ -x $bindir/set_default_volume ]; then + $bindir/set_default_volume -f else set_mixers fi @@ -640,7 +644,7 @@ If you have a big amplifier, lower your volumes or say no. fi if [ ! -r /etc/asound.state ]; then echo "Saving the mixer setup used for this in /etc/asound.state." - /usr/sbin/alsactl store + $sbindir/alsactl store fi cat <