#!/bin/bash set -e PACKAGE_NAME=lliurex-wine-common WINE_SETTINGS=/usr/bin/wine CAUTIOUS_SETTINGS=/usr/bin/cautious-launcher LLIUREX_SETTINGS=/usr/share/lliurex-wine/wine LLIUREX_CAUTIOUS_SETTINGS=/usr/share/lliurex-wine/cautious-launcher case $1 in remove|purge|abort-install|disappear) if [ -f "${CAUTIOUS_SETTINGS}.real" ] ; then rm -f "${CAUTIOUS_SETTINGS}" dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove "${CAUTIOUS_SETTINGS}" ||true fi ;; esac #DEBHELPER# exit 0