[Debian-eeepc-devel] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. da6e2a967f59f33cf079228e2fa77363d7494fcc

Nico Golde nion at debian.org
Mon Mar 3 15:02:44 UTC 2008


The following commit has been merged in the master branch:
commit da6e2a967f59f33cf079228e2fa77363d7494fcc
Author: Nico Golde <nion at debian.org>
Date:   Mon Mar 3 16:02:36 2008 +0100

    uncomment show_brightness function and thus removing bash dependency

diff --git a/actions/hotkey.sh b/actions/hotkey.sh
index 31e9176..168295a 100755
--- a/actions/hotkey.sh
+++ b/actions/hotkey.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 . /etc/default/eeepc-acpi-scripts
 code=$3
@@ -25,14 +25,14 @@ notify() {
     fi
 }
 
-show_wireless() {
-    if grep -q ath0 /proc/net/wireless; then
-	status=On
-    else
-	status=Off
-    fi
-    notify Wireless $status
-}
+#show_wireless() {
+#    if grep -q ath0 /proc/net/wireless; then
+#	status=On
+#    else
+#	status=Off
+#    fi
+#    notify Wireless $status
+#}
 
 show_muteness() {
     status=$(amixer get $VOLUME_LABEL | sed -n '/%/{s/.*\[\(on\|off\)\].*/\u\1/p;q}')
diff --git a/debian/changelog b/debian/changelog
index 7f93f72..89f459e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,15 +1,12 @@
 eeepc-acpi-scripts (1.1) unstable; urgency=low
 
   [ Nico Golde ]
-  * Change hotkey.sh shell to bash since it makes use of bashisms.
+  * Uncomment show_brightness function in hotkey.sh as it uses a bashism and
+    is not used by any script.
   * Start aosd_cat in the background and kill aosd_cat before each new call
     to avoid output that it is lagging behind on long key presses.
   * Adding Vcs-Browser and Vcs-Git control fields.
 
-
-  [ Damyan Ivanov ]
-  * Add bash to Depends
-
  -- Nico Golde <nion at debian.org>  Sat, 01 Mar 2008 17:11:08 +0100
 
 eeepc-acpi-scripts (1.0) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 6f72c05..a608f3d 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: http://git.debian.org/?p=debian-eeepc/eeepc-acpi-scripts.git
 Package: eeepc-acpi-scripts
 Architecture: all
 Conflicts: acpi-support
-Depends: acpid (>= 1.0.4), acpi-support-base, alsa-utils, pm-utils, bash
+Depends: acpid (>= 1.0.4), acpi-support-base, alsa-utils, pm-utils
 Suggests: aosd-cat, ttf-dejavu | ttf-bitstream-vera | ttf-freefont | gsfonts-x11 | msttcorefonts
 Description: Scripts to support suspend and hotkeys on the Asus Eee PC laptop
  Sleep (suspend) and hotkeys such as wireless, brightness, mute and volume are

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-devel mailing list