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