summarylogtreecommitdiffstats
path: root/xournalpp.install
diff options
context:
space:
mode:
authorKeshav Amburay2014-11-30 19:57:20 -0500
committerKeshav Amburay2014-11-30 20:21:28 -0500
commit560e0a049b34b93c96b9ba7e0d2a6986b6c9b945 (patch)
tree7b9b9e5e62a1e1711b5ceffa930f2538eeddad4f /xournalpp.install
downloadaur-560e0a049b34b93c96b9ba7e0d2a6986b6c9b945.tar.gz
Initial commit
Diffstat (limited to 'xournalpp.install')
-rw-r--r--xournalpp.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/xournalpp.install b/xournalpp.install
new file mode 100644
index 000000000000..dfcb68374210
--- /dev/null
+++ b/xournalpp.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
+}