diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-07-11 18:52:21 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-07-11 18:52:21 +0200 |
commit | 1e1a776f0dbd9ef9816902299bf6246f93a888ca (patch) | |
tree | 99df5233585019393abc22b1d8747a5df54b56a4 /klaptopdaemon/acpi.cpp | |
parent | ab5bf3f85657786e919587202b1c6ba0f6803aae (diff) | |
download | tdeutils-1e1a776f0dbd9ef9816902299bf6246f93a888ca.tar.gz tdeutils-1e1a776f0dbd9ef9816902299bf6246f93a888ca.zip |
Fix klaptopdaemon setupHandler to be distribution independent
Thanks to Francois Andriot
Diffstat (limited to 'klaptopdaemon/acpi.cpp')
-rw-r--r-- | klaptopdaemon/acpi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klaptopdaemon/acpi.cpp b/klaptopdaemon/acpi.cpp index cd8f4b0..4dfb247 100644 --- a/klaptopdaemon/acpi.cpp +++ b/klaptopdaemon/acpi.cpp @@ -178,7 +178,7 @@ void AcpiConfig::setupHelper() proc << tdesu; 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 { |