2019-03-25 19:25:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [ "$1" != "upgrade" ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
# 3rd party libs
|
|
|
|
phpThirdPartyLibs='phpseclib tcpdf Monolog Psr'
|
|
|
|
for phpThirdPartyLib in $phpThirdPartyLibs; do
|
|
|
|
if [ -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
|
|
|
|
rm /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
2019-12-15 16:14:42 +00:00
|
|
|
#DEBHELPER#
|