#!/bin/sh set -e # Template for diversions ORIG_FILE="/etc/apt/apt.conf.d/50unattended-upgrades" OUR_FILE="/usr/share/lliurex-dgti-conf-apt/50unattended-upgrades" OUR_PACKAGE="lliurex-dgti-conf-apt" if [ -f ${ORIG_FILE}.real ] ; then rm /etc/apt/apt.conf.d/50unattended-upgrades dpkg-divert --package ${OUR_PACKAGE} --rename --quiet --remove ${ORIG_FILE}|| true fi # Other Stuff # #DEBHELPER#