summaryrefslogtreecommitdiff
path: root/community/gdesklets/gdesklets.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gdesklets/gdesklets.install')
-rw-r--r--community/gdesklets/gdesklets.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/gdesklets/gdesklets.install b/community/gdesklets/gdesklets.install
new file mode 100644
index 000000000..9ba94ee6b
--- /dev/null
+++ b/community/gdesklets/gdesklets.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme gnome
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}