18 lines
354 B
Bash
18 lines
354 B
Bash
#!/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
|
|
|
|
#DEBHELPER#
|