liblemonldap-ng-portal-perl.postinst 433 Bytes
Newer Older
1 2 3
#!/bin/bash
# Maintainer: #DEBHELPER#

4 5
set -e

6 7
. /usr/share/debconf/confmodule

8 9 10
REFDIR=/usr/share/lemonldap-ng/portal/
RUNDIR=/var/lib/lemonldap-ng/portal/
FILES=$(find $REFDIR -name '*pl' -printf "%f ")
11 12
SESSIONSDIR=/var/lib/lemonldap-ng/sessions

13 14 15
BUILDPORTALWSDL=/usr/share/lemonldap-ng/bin/buildPortalWSDL
WSDLFILE=/var/lib/lemonldap-ng/portal/portal.wsdl

16 17
if [ "$1" == "configure" ]
then
18
	$BUILDPORTALWSDL > $WSDLFILE || true
19 20
fi