summarylogtreecommitdiffstats
path: root/powertool.install
diff options
context:
space:
mode:
Diffstat (limited to 'powertool.install')
-rw-r--r--powertool.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/powertool.install b/powertool.install
index 32f004776bf2..e5ddf74a3437 100644
--- a/powertool.install
+++ b/powertool.install
@@ -5,7 +5,7 @@ post_install() {
}
post_remove() {
- sed -i '/[ ]\?%sudo ALL=(ALL) NOPASSWD: \/usr\/bin\/powertool/d' /etc/sudoers
+ sed -i 'N;N;s/\n*%sudo ALL=(ALL) NOPASSWD: \/usr\/bin\/powertool//' /etc/sudoers
}
# vim: ts=4 sts=4 sw=4 et