#!/bin/sh

set -e 

# Removes the left over diversions of the old package

if [ "$1" = remove -o "$1" = upgrade ]; then
	for v in `list_versions`; do
	        dpkg-divert --package isc-dhcp-server-ldap --remove \
			--rename --divert /usr/sbin/dhcpd-noldap \
			/usr/sbin/dhcpd
	done
fi

#DEBHELPER#
