liblemonldap-ng-manager-perl.preinst 335 Bytes
Newer Older
Xavier Guimard's avatar
Xavier Guimard committed
1 2 3 4 5 6 7 8
#!/bin/bash

set -e

. /usr/share/debconf/confmodule

if [ "$1" == "configure" ]
then
Xavier Guimard's avatar
Xavier Guimard committed
9
	if [ -f /var/lib/lemonldap-ng/manager/index.pl ]; then
Xavier Guimard's avatar
Xavier Guimard committed
10 11 12
		diff /var/lib/lemonldap-ng/manager/index.pl \
			/usr/share/doc/liblemonldap-ng-manager-perl/examples/index.pl && \
		rm -rf /var/lib/lemonldap-ng/manager/index.pl
Xavier Guimard's avatar
Xavier Guimard committed
13
	fi
Xavier Guimard's avatar
Xavier Guimard committed
14 15
fi

16
#DEBHELPER#
Xavier Guimard's avatar
Xavier Guimard committed
17
exit 0