#!/bin/sh set -e PACKAGE_NAME="lliurex-gva" case "$1" in remove|purge|abort-install|disappear) ORIGINAL_FILE=$"/etc/pam.d/lightdm" if [ ! -r "$NEW_FILE" ] ; then rm -f "$ORIGINAL_FILE" dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove $ORIGINAL_FILE fi ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0