#!/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