Sorry, it seems I did a typo there, a ; was missing before the then, I must
have sent a previous patch by error, here is the good one:
--- power-funcs 2011-03-23 20:28:30.000000000 +0100
+++ /usr/share/acpi-support/power-funcs 2011-11-29 21:33:37.698289267 +0100
@@ -16,7 +16,11 @@
getXuser() {
local plist user l lastpp ds startx pid userhome
- plist=$(pinky -fw) || pwf_error "pinky lost"
+ if [ -x /usr/bin/ck-history ]; then
+ plist=$(ck-history --last-compat|sed -n "s/\([^:]*:[^
]*\).*still logged in[ ]*/\1/p")
+ else
+ plist=$(pinky -fw) || pwf_error "pinky lost"
+ fi
user=
while read l; do
set -- $l
Regards...
--
Manty/BestiaTester -> http://manty.net
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel