summaryrefslogtreecommitdiff
path: root/community/ettercap/ettercap-gtk.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/ettercap/ettercap-gtk.install')
-rw-r--r--community/ettercap/ettercap-gtk.install8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/ettercap/ettercap-gtk.install b/community/ettercap/ettercap-gtk.install
index 0b09f5904..e8f6bed8f 100644
--- a/community/ettercap/ettercap-gtk.install
+++ b/community/ettercap/ettercap-gtk.install
@@ -1,10 +1,14 @@
post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ 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() {
- post_install
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_remove() {
- post_install
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}