summaryrefslogtreecommitdiff
path: root/irfanview/debian/irfanview-bin32.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-bin32.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-bin32.postinst')
-rw-r--r--irfanview/debian/irfanview-bin32.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/irfanview/debian/irfanview-bin32.postinst b/irfanview/debian/irfanview-bin32.postinst
new file mode 100644
index 0000000..1d2d56b
--- /dev/null
+++ b/irfanview/debian/irfanview-bin32.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/irfanview32 70
+ update-alternatives --install /usr/bin/x-graphics-viewer x-graphics-viewer /usr/bin/irfanview32 70
+ ;;
+esac
bgstack15