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.install21
1 files changed, 8 insertions, 13 deletions
diff --git a/community/netsurf/netsurf.install b/community/netsurf/netsurf.install
index fb5b06997..966f361ea 100644
--- a/community/netsurf/netsurf.install
+++ b/community/netsurf/netsurf.install
@@ -1,20 +1,15 @@
-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
+ echo "Updating mime entries"
+ update-desktop-database -q
+}
+post_install() {
+ post_upgrade
}
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
+ post_upgrade
}
+
+# vim:set ts=2 sw=2 et: