summaryrefslogtreecommitdiffstats
path: root/redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch')
-rw-r--r--redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch b/redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
new file mode 100644
index 000000000..faff103f4
--- /dev/null
+++ b/redhat/tdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
@@ -0,0 +1,31 @@
+--- kdeutils/klaptopdaemon/acpi.cpp.ORI 2011-11-11 17:44:28.515033721 +0100
++++ kdeutils/klaptopdaemon/acpi.cpp 2011-11-11 17:50:52.703492308 +0100
+@@ -178,7 +178,7 @@
+ proc << kdesu;
+ proc << "-u";
+ proc << "root";
+- proc << "dpkg-statoverride --update --add root root 6755 "+helper;
++ proc << "chown root "+helper+"; chmod +s "+helper;
+ proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
+ }
+ } else {
+--- kdeutils/klaptopdaemon/apm.cpp.ORI 2011-11-11 17:45:11.515912373 +0100
++++ kdeutils/klaptopdaemon/apm.cpp 2011-11-11 17:51:07.095195808 +0100
+@@ -166,7 +166,7 @@
+ proc << kdesu;
+ proc << "-u";
+ proc << "root";
+- proc << TQString("dpkg-statoverride --update --add root root 6755 ")+apm_name;
++ proc << TQString("chown root ")+apm_name+TQString("; chmod +s ")+apm_name;
+ proc.start(KProcess::Block); // run it sync so has_apm below sees the results
+ }
+ } else {
+@@ -200,7 +200,7 @@
+ proc << kdesu;
+ proc << "-u";
+ proc << "root";
+- proc << "dpkg-statoverride --update --add root root 6755 "+helper;
++ proc << "chown root "+helper+"; chmod +s "+helper;
+ proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
+ }
+ } else {