Clean old manager links on upgrade

This commit is contained in:
Xavier Guimard 2018-12-07 22:27:06 +01:00
parent c7ef006e86
commit 6b995e8fd8
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/bin/bash
set -e
. /usr/share/debconf/confmodule
if [ "$1" == "configure" ]
then
find /var/lib/lemonldap-ng/manager/{static,manager.fcgi} -type l -xtype l -delete 2>/dev/null || true
fi
#DEBHELPER#
exit 0