#!/bin/sh set -e DIVERT_LIST="/etc/init.d/slapd" case "$1" in remove|purge|upgrade|deconfigure) # script for f in ${DIVERT_LIST} ; do if [ -f "${f}.real" ] ; then rm -f "$f" dpkg-divert --package lliurex-sldap --rename --quiet --remove "${f}" || true fi done ;; *) ;; esac #DEBHELPER# exit 0