Bug#430494: acpi-support: power.sh is broken

2007-06-26 Thread Bart Samwel
On Mon, June 25, 2007 5:37 am, Frederick Heckel wrote: > Package: acpi-support > Version: 0.95-2 > Severity: normal > > in power.sh, the lines: > > for x in /proc/acpi/ac_adapter/*; do > > if [ -f "$x" ]; then... > > But $x is a directory in this case, and is even used correctly as a > direct

Bug#430494: acpi-support: power.sh is broken

2007-06-25 Thread Frederick Heckel
Package: acpi-support Version: 0.95-2 Severity: normal in power.sh, the lines: for x in /proc/acpi/ac_adapter/*; do if [ -f "$x" ]; then... But $x is a directory in this case, and is even used correctly as a directory in the lines following. Since -f checks for a normal file, it alway