summaryrefslogtreecommitdiff
path: root/irfanview/debian/irfanview-bin64.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-bin64.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-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