summaryrefslogtreecommitdiff
path: root/irfanview/debian/irfanview-bin64.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-26 17:06:39 -0500
committerB Stack <bgstack15@gmail.com>2019-02-26 17:06:39 -0500
commit8fb89f6d9d8f04b5f1cd19ee024cad91d1c09a4e (patch)
tree0fa2d380f3a9061e8f6f1b0167611cc67c3730ee /irfanview/debian/irfanview-bin64.postinst
parentMerge branch 'mdf2iso' into 'master' (diff)
downloadstackrpms-8fb89f6d9d8f04b5f1cd19ee024cad91d1c09a4e.tar.gz
stackrpms-8fb89f6d9d8f04b5f1cd19ee024cad91d1c09a4e.tar.bz2
stackrpms-8fb89f6d9d8f04b5f1cd19ee024cad91d1c09a4e.zip
irfanview split into 32 and 64 bit dpkgs
Diffstat (limited to 'irfanview/debian/irfanview-bin64.postinst')
-rw-r--r--irfanview/debian/irfanview-bin64.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/irfanview/debian/irfanview-bin64.postinst b/irfanview/debian/irfanview-bin64.postinst
new file mode 100644
index 0000000..6caf135
--- /dev/null
+++ b/irfanview/debian/irfanview-bin64.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+case "$1" in
+ configure|abort-upgrade|abort-remove)
+ update-alternatives --install /usr/bin/irfanview irfanview /usr/bin/irfanview64 60
+ update-alternatives --install /usr/bin/x-graphics-viewer x-graphics-viewer /usr/bin/irfanview64 60
+ ;;
+esac
bgstack15