[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.4-3-g5cd8ba8

Darren Salt linux at youmustbejoking.demon.co.uk
Fri Dec 18 00:11:59 UTC 2009


The following commit has been merged in the master branch:
commit 5f39705b74010a085ac640e189b78d97eb266caf
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date:   Thu Dec 17 23:55:44 2009 +0000

    Fix S.H.E. breakage introduced in commit 618c8ec7 (and released in 1.1.4).

diff --git a/debian/changelog b/debian/changelog
index 174a3b5..0491d0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+eeepc-acpi-scripts (1.1.5) unstable; urgency=low
+
+  * Fix Super Hybrid Engine support breakage in 1.1.4.
+    A missing "[" caused the AC-adaptor-unplugged code to fail; consequently,
+    the preferred running-on-battery mode (the default being underclocked)
+    would not be selected.
+
+ -- Darren Salt <linux at youmustbejoking.demon.co.uk>  Thu, 17 Dec 2009 23:48:02 +0000
+
 eeepc-acpi-scripts (1.1.4) unstable; urgency=low
 
   * rules: when stripping comments from /etc/default/eeepc-acpi-scripts, also
diff --git a/etc/acpi/actions/ac_adapter.sh b/etc/acpi/actions/ac_adapter.sh
index 350ab5f..a2e4bc6 100755
--- a/etc/acpi/actions/ac_adapter.sh
+++ b/etc/acpi/actions/ac_adapter.sh
@@ -33,7 +33,7 @@ case "$code" in
     # AC adapter not present
     0000008[01]\ 00000000)
 	. /etc/acpi/lib/shengine.sh
-	if shengine_supported &&  "${SHENGINE_SETTING:-auto}" = auto ]; then
+	if shengine_supported && [ "${SHENGINE_SETTING:-auto}" = auto ]; then
 	    PWR_CLOCK_BATTERY="${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}"
 	    if [ $(get_shengine -) -lt "$PWR_CLOCK_BATTERY" ]; then
 		handle_shengine "$PWR_CLOCK_BATTERY" -

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list