/usr/sbin/alsaconf: line 35: [: too many arguments
/usr/sbin/alsaconf: line 37: [: too many arguments
You must be root to use this script.

when i run as root, alsaconf pops up the color screen so i can't see if it still gives the first 2 lines as errors.
i don't remember seeing the first 2 lines as errors before. i don't think it's important, so i removed those two elif's and the errors are gone. but i wonder why it suddenly has errors. this is my /usr/sbin/alsaconf (the red lines are lines 35 and 37 have errors as above):

I don't know why you received the error, but there shouldn't be any problem changing the script. You'll also want to check and make sure that /etc/slackware-version still exists on your system. I'm just guessing here, but you might also want to check that /etc/redhat-release and /etc/fedora-release do'nt exist on your system. I don't know why they would, but if you are having trouble with those two lines, that would be something to look at.

Hope that helps,

rgiggs

07-21-2004 11:42 AM

Quote:

Originally posted by shilo It may sound silly, but you said that you removed the two elif's; did you also remove the "distribution=" lines?

of course.
yeah i'll change it to the slackware only conditional. thanks.