LDAPAccountManager/lam-packaging/debian/preinst

17 lines
342 B
Plaintext
Raw Normal View History

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