summarylogtreecommitdiffstats
path: root/diffimg.install
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 15:34:57 +0200
committerPiotr Rogoża2015-06-14 15:34:57 +0200
commit10c161da4160c52f720b2d6f4612f7f9cd74ce5a (patch)
tree716767cb6e5a820af0ff07b089791193fad6ac6b /diffimg.install
downloadaur-10c161da4160c52f720b2d6f4612f7f9cd74ce5a.tar.gz
Initial import
Diffstat (limited to 'diffimg.install')
-rw-r--r--diffimg.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/diffimg.install b/diffimg.install
new file mode 100644
index 000000000000..c1c351307e9e
--- /dev/null
+++ b/diffimg.install
@@ -0,0 +1,14 @@
+post_install(){
+ echo "Program diffimg (and man page) has been renamed as DiffImg because it conflicts with graphviz"
+ #which xdg-icon-resource >/dev/null 2>&1 && xdg-icon-resource forceupdate || true
+ echo "update desktop mime database..."
+ update-desktop-database -q
+}
+post_upgrade(){
+ post_install
+}
+post_remove(){
+ #which xdg-icon-resource >/dev/null 2>&1 && xdg-icon-resource forceupdate || true
+ echo "update desktop mime database..."
+ update-desktop-database -q
+}