clear old links
This commit is contained in:
parent
c253c67af5
commit
3d0a53cb07
|
@ -50,7 +50,7 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 3rd party libs
|
# 3rd party libs
|
||||||
phpThirdPartyLibs='phpseclib tcpdf'
|
phpThirdPartyLibs='phpseclib tcpdf Monolog Psr'
|
||||||
for phpThirdPartyLib in $phpThirdPartyLibs; do
|
for phpThirdPartyLib in $phpThirdPartyLibs; do
|
||||||
if [ -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
|
if [ -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
|
||||||
rm /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
|
rm /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue