Bug#481824: init script vomits an error

2008-05-18 Thread Jonny
Package: acpid Version: 1.0.6-6 Severity: serious If dash is used for /bin/sh, /etc/init.d/acpid will vomit an error: Setting up acpid (1.0.6-6) ... Installing new version of config file /etc/default/acpid ... Installing new version of config file /etc/init.d/acpid ... System startup links

Bug#481824: init script vomits an error

2008-05-18 Thread David Weinehall
This is because the init-script author forgot that $(()) means arithmetic expansion, when trying to use parantheses inside a $() command substitution. Changing $(( to $( ( on line 48 and 55 solves the issue. Regards: David Weinehall -- /) David Weinehall [EMAIL PROTECTED] /) Rime on my window