20 lines
367 B
Bash
20 lines
367 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
BUILDPORTALWSDL=/usr/share/lemonldap-ng/bin/buildPortalWSDL
|
|
WSDLFILE=/var/lib/lemonldap-ng/portal/portal.wsdl
|
|
|
|
CAPTCHA_DIR=/var/lib/lemonldap-ng/portal/captcha_output
|
|
|
|
if [ "$1" == "configure" ]
|
|
then
|
|
$BUILDPORTALWSDL > $WSDLFILE || true
|
|
chown www-data:www-data $CAPTCHA_DIR
|
|
fi
|
|
|
|
# Maintainer: #DEBHELPER#
|
|
exit 0
|