diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-29 07:07:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-29 07:07:15 -0600 |
commit | d5981b5efb0c3e7c224d27b2e0553afa4eaefdd6 (patch) | |
tree | 5b07da1d88902f0cb20375b3e9aa6b20c15bf9c7 /ubuntu/maverick/tdeutils/debian | |
parent | ef07b068919256dd762d8a5cb8070464c8b6e4b3 (diff) | |
download | tde-packaging-d5981b5efb0c3e7c224d27b2e0553afa4eaefdd6.tar.gz tde-packaging-d5981b5efb0c3e7c224d27b2e0553afa4eaefdd6.zip |
Fix references to KProcess
Diffstat (limited to 'ubuntu/maverick/tdeutils/debian')
-rw-r--r-- | ubuntu/maverick/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ubuntu/maverick/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff b/ubuntu/maverick/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff index a794f17ff..3837407f6 100644 --- a/ubuntu/maverick/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff +++ b/ubuntu/maverick/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff @@ -8,7 +8,7 @@ index 4dfb247..cd8f4b0 100644 proc << "root"; - proc << "chown root "+helper+"; chmod +s "+helper; + proc << "dpkg-statoverride --update --add root root 6755 "+helper; - proc.start(KProcess::Block); // run it sync so has_acpi below sees the results + 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 @@ -21,7 +21,7 @@ index 9de0c85..e348943 100644 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(KProcess::Block); // run it sync so has_apm below sees the results + 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 @@ -30,6 +30,6 @@ index 9de0c85..e348943 100644 proc << "root"; - proc << "chown root "+helper+"; chmod +s "+helper; + proc << "dpkg-statoverride --update --add root root 6755 "+helper; - proc.start(KProcess::Block); // run it sync so has_acpi below sees the results + proc.start(TDEProcess::Block); // run it sync so has_acpi below sees the results } } else { |