2007-05-01 16:53:26 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2008-11-11 16:21:31 +01:00
|
|
|
set -e
|
|
|
|
|
2007-05-01 16:53:26 +02:00
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
|
2009-02-01 16:38:06 +01:00
|
|
|
BUILDPORTALWSDL=/usr/share/lemonldap-ng/bin/buildPortalWSDL
|
|
|
|
WSDLFILE=/var/lib/lemonldap-ng/portal/portal.wsdl
|
|
|
|
|
2012-11-03 06:58:20 +01:00
|
|
|
CAPTCHA_DIR=/var/lib/lemonldap-ng/portal/captcha_output
|
|
|
|
|
2007-05-01 16:53:26 +02:00
|
|
|
if [ "$1" == "configure" ]
|
|
|
|
then
|
2010-09-06 10:39:39 +02:00
|
|
|
$BUILDPORTALWSDL > $WSDLFILE || true
|
2012-12-02 10:17:30 +01:00
|
|
|
chown www-data:www-data $CAPTCHA_DIR
|
2007-05-01 16:53:26 +02:00
|
|
|
fi
|
|
|
|
|
2012-12-14 13:54:06 +01:00
|
|
|
# Maintainer: #DEBHELPER#
|
2012-12-02 10:17:30 +01:00
|
|
|
exit 0
|