Package: pm-utils
Version: 0.99.2-3
Severity: normal
Tags: patch

If more than one file is placed in /etc/pm/config.d, suspend fails with
lots of grumbling about a syntax error in /usr/lib/pm-utils/functions.

It's a simple typo. Here's a patch:

--- /usr/lib/pm-utils/functions.orig    2007-11-16 10:38:05.000000000 +0000
+++ /usr/lib/pm-utils/functions 2007-11-16 10:38:18.000000000 +0000
@@ -25,7 +25,7 @@
 {
         cfgs="/etc/pm/config.d/*[^~]"
         for cfg in $cfgs ; do
-                [ -f $cfgs ] || continue
+                [ -f $cfg ] || continue
                 set -a
                 . $cfg
                 set +a

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pm-utils depends on:
ii  powermgmt-base                1.29       Common utils and configs for power

Versions of packages pm-utils recommends:
ii  hal                           0.5.10-2   Hardware Abstraction Layer
ii  radeontool                    1.5-5      utility to control ATI Radeon back
ii  uswsusp                       0.7-1      tools to use userspace software su
ii  vbetool                       0.7-1.1    run real-mode video BIOS code to a

-- no debconf information



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

Reply via email to