Update of /cvsroot/alsa/alsa-utils/alsaconf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15509

Modified Files:
        alsaconf.in 
Log Message:
- use the bindir and sbindir set by configure script.




Index: alsaconf.in
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/alsaconf/alsaconf.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- alsaconf.in 5 Dec 2003 13:13:00 -0000       1.10
+++ alsaconf.in 10 Feb 2004 15:58:51 -0000      1.11
@@ -17,6 +17,10 @@
 #  (at your option) any later version.
 #
 
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
 [EMAIL PROTECTED]@
 
 # Check for GNU/Linux distributions
@@ -618,8 +622,8 @@
     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 @@
     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 <<END
 ===============================================================================



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to