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

Damyan Ivanov dmn at debian.org
Sun Feb 8 07:16:41 UTC 2009


The following commit has been merged in the master branch:
commit daf30074943fe80e4d3484d9ec1e1e917198d104
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sun Feb 8 09:15:55 2009 +0200

    remove spaces around '=' when assigning to timeout
    
    POSIX shells apparently require no spaces around the assignment

diff --git a/etc/acpi/lib/notify.sh b/etc/acpi/lib/notify.sh
index 0176cbe..d621599 100755
--- a/etc/acpi/lib/notify.sh
+++ b/etc/acpi/lib/notify.sh
@@ -29,9 +29,9 @@ notify() {
 		animations='on'
 	    fi
 	    if [ "$3" = 'fast' ]; then
-		timeout = 150
+		timeout=150
 	    else
-		timeout = 1200
+		timeout=1200
 	    fi
 	    echo "<message id='eee-$CATEGORY' osd_fake_translucent_bg='off' osd_vposition='bottom' animations='$animations' hide_timeout='$timeout' osd_halignment='center'>$MSG</message>" \
 		| sudo -u $user $GOSDC -s --dbus

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list