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