[Pkg-xfce-devel] Bug#648604: a small typo on last patch
- Subject: [Pkg-xfce-devel] Bug#648604: a small typo on last patch
- From: manty at debian.org (Santiago Garcia Mantinan)
- Date: Wed, 30 Nov 2011 00:54:25 +0100
- Message-id: <[🔎] 20111129235425.GA3050@vip.manty.net>
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
Reply to: