diff options
Diffstat (limited to 'irfanview/debian/irfanview-bin32.postinst')
-rw-r--r-- | irfanview/debian/irfanview-bin32.postinst | 7 |
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 |