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.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/ettercap/ettercap-gtk.install b/community/ettercap/ettercap-gtk.install
new file mode 100644
index 000000000..e8f6bed8f
--- /dev/null
+++ b/community/ettercap/ettercap-gtk.install
@@ -0,0 +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() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}