#!/bin/sh set -e # Template for diversions PACKAGE_NAME="lliurex-lightdm-theme" ORIGINAL_FILE="/etc/lightdm/lightdm-gtk-greeter.conf.d/99_ubuntu-mate.conf" DIVERT_FILE="/usr/share/lliurex-lightdm-theme/diversions/99_ubuntu-mate.diverted" case $1 in remove|purge|abort-install|disappear) if [ -f ${DIVERT_FILE} ] ; then dpkg-divert --package ${PACKAGE_NAME} --rename --quiet --remove ${ORIG_FILE}|| true fi update-alternatives --remove lightdm-bg /usr/share/backgrounds/lliurex/lliurex-blueprint.png ;; *) echo "Nothing to do" ;; esac #DEBHELPER# exit 0