summaryrefslogtreecommitdiff
path: root/community/netsurf/netsurf.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/netsurf/netsurf.install')
-rw-r--r--community/netsurf/netsurf.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/netsurf/netsurf.install b/community/netsurf/netsurf.install
new file mode 100644
index 000000000..fb5b06997
--- /dev/null
+++ b/community/netsurf/netsurf.install
@@ -0,0 +1,20 @@
+post_install() {
+ echo "Updating icon cache"
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ echo "Updating mime entries"
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ echo "Updating icon cache"
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ echo "Updating mime entries"
+ update-desktop-database -q
+}
+
+post_remove() {
+ echo "Updating icon cache"
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ echo "Updating mime entries"
+ update-desktop-database -q
+}