#!/bin/sh set -e if [ "$1" = "remove" ] then # remove all alternatives for prog in ${MAGICK_PROGRAMS}; do update-alternatives --remove $prog /usr/bin/$prog-im${IMVERSION}.${QUANTUMDEPTH} update-alternatives --remove $prog-im${IMVERSION} /usr/bin/$prog-im${IMVERSION}.${QUANTUMDEPTH} done fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER#