summaryrefslogtreecommitdiff
path: root/community-testing/google-gadgets/google-gadgets-common.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-25 23:14:56 +0000
committerroot <root@rshg054.dnsready.net>2011-10-25 23:14:56 +0000
commitd03e905f54857600b3c36af9b221c34ccb11074f (patch)
tree6456a06bc5bed5a6083f02bb468392dc6ba6337e /community-testing/google-gadgets/google-gadgets-common.install
parent0d7bab226067a44a9f1b978924e8201a3fa60764 (diff)
Tue Oct 25 23:14:56 UTC 2011
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: