summaryrefslogtreecommitdiff
path: root/irfanview/debian/irfanview-bin32.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-27 14:44:56 +0000
committerB Stack <bgstack15@gmail.com>2019-02-27 14:44:56 +0000
commitea6b80b7fe0c71ef6e71dd84fcdec2b99145ea65 (patch)
tree6490cd35a6ec0d54d067a62c39eaf16fd66cbe31 /irfanview/debian/irfanview-bin32.postinst
parentMerge branch 'freefilesync-dpkg' into 'master' (diff)
parentirfanview split into 32 and 64 bit dpkgs (diff)
downloadstackrpms-ea6b80b7fe0c71ef6e71dd84fcdec2b99145ea65.tar.gz
stackrpms-ea6b80b7fe0c71ef6e71dd84fcdec2b99145ea65.tar.bz2
stackrpms-ea6b80b7fe0c71ef6e71dd84fcdec2b99145ea65.zip
Merge branch 'irfanview-dpkg' into 'master'
irfanview split into 32 and 64 bit dpkgs See merge request bgstack15/stackrpms!44
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