#!/bin/sh
set -e

if [ "$1" != "upgrade" ]; then
        if [ "$1" = "configure" ]; then

#Not needed, according to lintian.
#		if [ -d /usr/doc -a ! -e /usr/doc/webmin-ldap-netgroups -a -d /usr/share/doc/webmin-ldap-netgroups ]; then
#			ln -sf ../share/doc/webmin-ldap-netgroups /usr/doc/webmin-ldap-netgroups
#	        fi

	/usr/sbin/update-webmin add ldap-netgroups;

 	fi
fi

#DEBHELPER#
