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