#!/bin/sh set -eu # Automatically added by dh_installalternatives/13.24.1 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ]; then update-alternatives --install /usr/bin/mt mt /usr/bin/mt-st 20 \ --slave /usr/share/man/man1/mt.1.gz mt.1.gz /usr/share/man/man1/mt-st.1.gz fi # End automatically added section if [ "$1" = configure ]; then # Potentially upgrading from an older version. Check to see if we # need to remove the (now obsolete) init script rc?.d symlinks, and # potentially parent directory of the other obsolete conffile # (needed due to bug in interaction between dpkg and # dpkg-maintscript-helper, see #815969). if dpkg --compare-versions "$2" lt-nl "1.3-1"; then update-rc.d mt-st remove rmdir --ignore-fail-on-non-empty /etc/modprobe.d/ fi fi