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

Damyan Ivanov dmn at debian.org
Mon Feb 2 13:44:45 UTC 2009


The following commit has been merged in the master branch:
commit a0892a9bf6fbaad25a8b81795f249e289c94fba0
Author: Raphael Geissert <atomo64 at gmail.com>
Date:   Thu Jan 29 17:34:29 2009 -0600

    test for OSD_SHOWN before checking for gnome-osd for consistency reasons
    
    Signed-off-by: Raphael Geissert <atomo64 at gmail.com>

diff --git a/etc/acpi/lib/notify.sh b/etc/acpi/lib/notify.sh
index 0156129..2df91f9 100755
--- a/etc/acpi/lib/notify.sh
+++ b/etc/acpi/lib/notify.sh
@@ -21,7 +21,7 @@ notify() {
 
     # try to show a nice OSD notification via GNOME OSD service
     GOSDC=/usr/bin/gnome-osd-client
-    if [ -x $GOSDC ]; then
+    if [ -z "$OSD_SHOWN" ] && [ -x $GOSDC ]; then
 	if ps -u $user -o cmd= | grep -q '^/usr/bin/python /usr/bin/gnome-osd-event-bridge'; then
 	    if echo "$MSG" | grep -q '[0-9]'; then
 		animations='off'

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list