summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-04-17 13:57:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-04-17 13:57:20 +0900
commit2d59086b104acd7b4711fd067c9bb4480158e6ab (patch)
tree7d3d9aff90930e65a491c055510aba94debc6da9 /ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff
parent55b519366b1dcd7ab5b2f1f720d275b33fc4bd49 (diff)
downloadtde-packaging-2d59086b104acd7b4711fd067c9bb4480158e6ab.tar.gz
tde-packaging-2d59086b104acd7b4711fd067c9bb4480158e6ab.zip
Removed Ubuntu/precise folder
Diffstat (limited to 'ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff')
-rw-r--r--ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff35
1 files changed, 0 insertions, 35 deletions
diff --git a/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff b/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff
deleted file mode 100644
index 3837407f6..000000000
--- a/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/klaptopdaemon/acpi.cpp b/klaptopdaemon/acpi.cpp
-index 4dfb247..cd8f4b0 100644
---- a/klaptopdaemon/acpi.cpp
-+++ b/klaptopdaemon/acpi.cpp
-@@ -178,7 +178,7 @@ void AcpiConfig::setupHelper()
- proc << tdesu;
- proc << "-u";
- proc << "root";
-- proc << "chown root "+helper+"; chmod +s "+helper;
-+ proc << "dpkg-statoverride --update --add root root 6755 "+helper;
- proc.start(TDEProcess::Block); // run it sync so has_acpi below sees the results
- }
- } else {
-diff --git a/klaptopdaemon/apm.cpp b/klaptopdaemon/apm.cpp
-index 9de0c85..e348943 100644
---- a/klaptopdaemon/apm.cpp
-+++ b/klaptopdaemon/apm.cpp
-@@ -166,7 +166,7 @@ void ApmConfig::setupHelper()
- proc << tdesu;
- proc << "-u";
- proc << "root";
-- proc << TQString("chown root ")+apm_name+TQString("; chmod +s ")+apm_name;
-+ proc << TQString("dpkg-statoverride --update --add root root 6755 ")+apm_name;
- proc.start(TDEProcess::Block); // run it sync so has_apm below sees the results
- }
- } else {
-@@ -200,7 +200,7 @@ void ApmConfig::setupHelper2() // we use the acpi helper to do software suspend
- proc << tdesu;
- proc << "-u";
- proc << "root";
-- proc << "chown root "+helper+"; chmod +s "+helper;
-+ proc << "dpkg-statoverride --update --add root root 6755 "+helper;
- proc.start(TDEProcess::Block); // run it sync so has_acpi below sees the results
- }
- } else {