On Tue, Dec 04, 2007 at 04:51:10PM +0100, Johannes Rohr wrote: > Package: hal > Version: 0.5.10-4 > Followup-For: Bug #448463 > > I see the same and it is accompanied by a syntax error regarding a > failed test. > > I suspect that when line 45 of the script is processed, the variable > DELL_WCTL is not set: > > In line 10-15, the variable is set, but only if you have a dell laptop: > > if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then > DELL_WCTL=/usr/bin/dellWirelessCtl > if [ -x /usr/sbin/dellWirelessCtl ]; then > DELL_WCTL=/usr/sbin/dellWirelessCtl > fi > fi > > Which means that on other machines, the test in line 45 > > if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" -a -x $DELL_WCTL ]; then > > fails, because the variable is not simply empty, but it is not set, > therefore bash complains about a missing argument.
This is bug 453203, which seems to be different then the one 448463 is originally about. But yes your diagnosis of that bug is completely correct, will be fixed in the next hal upload Sjoerd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

