summaryrefslogtreecommitdiff
path: root/community/gsmartcontrol/gsmartcontrol.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-12 03:39:46 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-12 03:39:46 +0000
commit61e090957dbc6b062f3a1af7eeb0d58478c6657d (patch)
tree768f076ead75d57e34580da0d78ff9f5afe170fd /community/gsmartcontrol/gsmartcontrol.install
parentb8322aaddc0dc6b249457dd19ab7fb246b92c997 (diff)
Sun Jan 12 03:35:50 UTC 2014
Diffstat (limited to 'community/gsmartcontrol/gsmartcontrol.install')
-rw-r--r--community/gsmartcontrol/gsmartcontrol.install7
1 files changed, 2 insertions, 5 deletions
diff --git a/community/gsmartcontrol/gsmartcontrol.install b/community/gsmartcontrol/gsmartcontrol.install
index f636406f2..b711352cb 100644
--- a/community/gsmartcontrol/gsmartcontrol.install
+++ b/community/gsmartcontrol/gsmartcontrol.install
@@ -1,14 +1,11 @@
post_install() {
which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
- echo 'If you use a lightweight windowmanager, remember to run'
- echo '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 to enable'
- echo 'graphical authentication, which may be needed for pkexec to work.'
}
post_upgrade() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+ post_install $1
}
post_remove() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+ post_install $1
}