diff options
Diffstat (limited to 'community/gsmartcontrol/gsmartcontrol.install')
-rw-r--r-- | community/gsmartcontrol/gsmartcontrol.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/gsmartcontrol/gsmartcontrol.install b/community/gsmartcontrol/gsmartcontrol.install new file mode 100644 index 000000000..f636406f2 --- /dev/null +++ b/community/gsmartcontrol/gsmartcontrol.install @@ -0,0 +1,14 @@ +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_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} |