summarylogtreecommitdiffstats
path: root/diffimg.install
diff options
context:
space:
mode:
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
+}