#!/bin/sh set -e # Template for diversions ORIG_FILE="/etc/ssh/sshd_config" OUR_FILE="/etc/ssh/sshd_config.dgti" OUR_PACKAGE="lliurex-dgti-conf-sshd" case $1 in remove|purge|abort-install|disappear) if [ -f ${ORIG_FILE}.real ] ; then dpkg-divert --package ${OUR_PACKAGE} --rename --quiet --remove ${ORIG_FILE}|| true fi ;; *) echo "Nothing to do" ;; esac # Other Stuff # #DEBHELPER#