#!/bin/sh set -e #VARS PACKAGE_NAME="lliurex-qjackctl" FILE="/etc/security/limits.conf" LLIUREX_TEMPLATE="/etc/security/limits.conf.lliurex" # --------- case "$1" in remove|purge|abort-install|disappear) #Remove the diversion rm -f $FILE dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove $FILE ;; esac #DEBHELPER# exit 0