#!/bin/bash set -e PACKAGE_NAME=lliurex-wine-class-settings 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 "${WINE_SETTINGS}.real" ] ; then rm -f "${WINE_SETTINGS}" dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove "${WINE_SETTINGS}" ||true fi ;; esac #DEBHELPER# exit 0