summaryrefslogtreecommitdiffstats
path: root/redhat/kdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 18:27:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 18:27:31 -0600
commit19bc61f5b70a4117ba7bd45f8519c642148a0fbf (patch)
treed6fcc8add9ca11b0eff8fe10033f314d3948b36f /redhat/kdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
parent9cdd60304e49a4037b326ddbaac7c038383fbdf7 (diff)
parent35bee9455536ec115fddfa30cdbd2dcade240cfb (diff)
downloadtde-packaging-19bc61f5b70a4117ba7bd45f8519c642148a0fbf.tar.gz
tde-packaging-19bc61f5b70a4117ba7bd45f8519c642148a0fbf.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/kdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch')
-rw-r--r--redhat/kdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/redhat/kdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch b/redhat/kdeutils/kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch
new file mode 100644
index 000000000..faff103f4
--- /dev/null
+++ b/redhat/kdeutils/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 {