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