[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.0-beta.1-30-g3ec490d
Raphael Geissert
atomo64 at gmail.com
Thu Jul 9 05:26:12 UTC 2009
The following commit has been merged in the master branch:
commit 3ec490d63e486d7976b2d3f80ca419631aa69b84
Author: Raphael Geissert <atomo64 at gmail.com>
Date: Thu Jul 9 00:17:56 2009 -0500
Use su instead of sudo to avoid another dependency
diff --git a/debian/changelog b/debian/changelog
index 00fa982..cec500a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ eeepc-acpi-scripts (1.1.1) unstable; urgency=low
- Thanks to Gernot Pansy <pansyg at gmx.at> for the patch
* Bump standards-version, no change needed
* Simplify rules file
+ * Use su instead of sudo to avoid another dependency
[ Tanguy Ortolo ]
* Fix "[ -e $foo ]" where foo may be empty. (Closes: #532631)
diff --git a/etc/acpi/lib/notify.sh b/etc/acpi/lib/notify.sh
index bf7271c..b476b53 100644
--- a/etc/acpi/lib/notify.sh
+++ b/etc/acpi/lib/notify.sh
@@ -39,7 +39,7 @@ notify() {
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
+ | su "$user" -c "$GOSDC -s --dbus"
OSD_SHOWN=1
fi
fi
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list