liblemonldap-ng-portal-perl.preinst 345 Bytes
Newer Older
Yadd's avatar
Yadd committed
1 2 3 4 5 6 7 8 9
#!/bin/bash
# Maintainer: #DEBHELPER#

set -e

. /usr/share/debconf/confmodule

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