summaryrefslogtreecommitdiff
path: root/community-testing/google-gadgets/google-gadgets-common.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/google-gadgets/google-gadgets-common.install')
-rw-r--r--community-testing/google-gadgets/google-gadgets-common.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/community-testing/google-gadgets/google-gadgets-common.install b/community-testing/google-gadgets/google-gadgets-common.install
new file mode 100644
index 000000000..210cbc869
--- /dev/null
+++ b/community-testing/google-gadgets/google-gadgets-common.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo "==> Updating desktop database..."
+ gtk-update-icon-cache --quiet usr/share/icons/hicolor
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et: