fixed links
This commit is contained in:
parent
0b66a600a2
commit
cfce928df4
|
@ -12,7 +12,9 @@ db_version 2.0 || [ $? -lt 30 ]
|
|||
# 3rd party libs
|
||||
phpThirdPartyLibs='phpseclib tcpdf'
|
||||
for phpThirdPartyLib in $phpThirdPartyLibs; do
|
||||
ln -s /usr/share/php/${phpThirdPartyLib} /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
|
||||
if [ ! -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
|
||||
ln -s /usr/share/php/${phpThirdPartyLib} /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
|
||||
fi
|
||||
done
|
||||
|
||||
cd /usr/share/ldap-account-manager/config-samples/profiles
|
||||
|
|
|
@ -49,6 +49,15 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
# 3rd party libs
|
||||
phpThirdPartyLibs='phpseclib tcpdf'
|
||||
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
|
||||
|
||||
|
||||
set -e
|
||||
if [ "$1" = "purge" ]; then
|
||||
rm -r -f /usr/share/ldap-account-manager
|
||||
|
|
Loading…
Reference in New Issue