#!/bin/sh set -e # LliureX diversions for Thunderbird Dgti ORIG_FILE="/usr/lib/thunderbird/defaults/pref/channel-prefs.js" OUR_FILE="/usr/lib/thunderbird/defaults/pref/channel-prefs-dgti.js" OUR_PACKAGE="lliurex-dgti-conf-thunderbird-extensions-lock" 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 #DEBHELPER#