summarylogtreecommitdiffstats
path: root/veusz.install
diff options
context:
space:
mode:
authorAndrzej Giniewicz2015-07-07 19:49:59 +0200
committerAndrzej Giniewicz2015-07-07 19:49:59 +0200
commit6b53fb64b8b131203572e1366f3e3aa9a4ea24c1 (patch)
tree6460d65ca788c75580769e65c2064ceb35602ef5 /veusz.install
downloadaur-6b53fb64b8b131203572e1366f3e3aa9a4ea24c1.tar.gz
Initial import
Diffstat (limited to 'veusz.install')
-rw-r--r--veusz.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/veusz.install b/veusz.install
new file mode 100644
index 000000000000..b764056f3b30
--- /dev/null
+++ b/veusz.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo "update mime database..."
+ update-mime-database /usr/share/mime/ > /dev/null
+ echo "update desktop database..."
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}