3rd party
This commit is contained in:
parent
d29ec9220d
commit
fdca95bd3b
|
@ -9,6 +9,12 @@ fi
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
db_version 2.0 || [ $? -lt 30 ]
|
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}
|
||||||
|
done
|
||||||
|
|
||||||
cd /usr/share/ldap-account-manager/config-samples/profiles
|
cd /usr/share/ldap-account-manager/config-samples/profiles
|
||||||
files=`ls -a default.*`
|
files=`ls -a default.*`
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
|
|
|
@ -46,8 +46,6 @@ install:
|
||||||
|
|
||||||
# 3rd party libs are linked
|
# 3rd party libs are linked
|
||||||
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty
|
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty
|
||||||
ln -s /usr/share/php/phpseclib debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/phpseclib
|
|
||||||
ln -s /usr/share/php/tcpdf debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/tcpdf
|
|
||||||
|
|
||||||
cp -r locale debian/ldap-account-manager/usr/share/ldap-account-manager/
|
cp -r locale debian/ldap-account-manager/usr/share/ldap-account-manager/
|
||||||
install -D --mode=644 sess/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/sess/.htaccess
|
install -D --mode=644 sess/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/sess/.htaccess
|
||||||
|
|
Loading…
Reference in New Issue