Package: cpufrequtils
Version: 002-1
Severity: normal

Hi,

your init script uses \s in a sed expression.  This doesn't work with
sarge's sed which breaks partial upgrades and backports.

Please either depend on sed >= 4.1.5-1 (I know that it works with this
one and does not work with 4.1.2-8), or even better, change your init
script slightly:

--- /etc/init.d/cpufrequtils.orig       2006-07-15 16:05:11.000000000 +0200
+++ /etc/init.d/cpufrequtils    2006-07-16 19:19:14.000000000 +0200
@@ -50,5 +50,5 @@
 fi
 
-CPUS=$(sed -ne 's/^processor\s*: \([0-9]\+\)$/\1/p' /proc/cpuinfo)
+CPUS=$(sed -ne 's/^processor[[:space:]]*: \([0-9]\+\)$/\1/p' /proc/cpuinfo)
 RETVAL=0
 case "$1" in


Cheers,
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to