power.sh works with KDE 4.* (#483417)
This commit is contained in:
parent
d650c89476
commit
53ba655ba1
@ -21,7 +21,8 @@ active == "TRUE" && x11 != "" {
|
|||||||
ps axo uid,cmd | \
|
ps axo uid,cmd | \
|
||||||
awk '
|
awk '
|
||||||
$1 == '$uid_session' &&
|
$1 == '$uid_session' &&
|
||||||
($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/) \
|
($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/ ||
|
||||||
|
$2 ~ /kded4/ || $3 ~ /guidance-power-manager/) \
|
||||||
{ found = 1; exit }
|
{ found = 1; exit }
|
||||||
END { exit !found }
|
END { exit !found }
|
||||||
' ||
|
' ||
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: ACPI Event Daemon
|
Summary: ACPI Event Daemon
|
||||||
Name: acpid
|
Name: acpid
|
||||||
Version: 1.0.8
|
Version: 1.0.8
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz
|
Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz
|
||||||
@ -81,6 +81,9 @@ if [ "$1" -ge "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 04 2009 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.8-2
|
||||||
|
- power.sh works with KDE 4.* (#483417)
|
||||||
|
|
||||||
* Tue Nov 11 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.8-1
|
* Tue Nov 11 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.8-1
|
||||||
- Updated to version 1.0.8
|
- Updated to version 1.0.8
|
||||||
- power.sh works with ConsoleKit >= 0.3.0 (#470752)
|
- power.sh works with ConsoleKit >= 0.3.0 (#470752)
|
||||||
|
Loading…
Reference in New Issue
Block a user