3rd party

This commit is contained in:
Roland Gruber 2018-06-28 14:02:28 +02:00
parent 206eda9100
commit 87b72f6995
1 changed files with 4 additions and 6 deletions

View File

@ -44,10 +44,8 @@ install:
cp -r lib/types debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
cp -r lib/tools debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
# link 3rd party libs
rm -rf 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/
ln -s /usr/share/php/tcpdf debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/
# 3rd party libs are linked
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty
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
@ -69,9 +67,9 @@ binary-indep: build install
dh_install
dh_compress
dh_fixperms
dh_link /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf /usr/share/ldap-account-manager/lib/3rdParty/tcpdf/fonts/DejaVuSerif.ttf
dh_link /usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf /usr/share/ldap-account-manager/lib/3rdParty/tcpdf/fonts/DejaVuSerif-Bold.ttf
dh_link /usr/share/doc/ldap-account-manager/docs /usr/share/ldap-account-manager/docs
dh_link /usr/share/php/phpseclib /usr/share/ldap-account-manager/lib/3rdParty/phpseclib
dh_link /usr/share/php/tcpdf /usr/share/ldap-account-manager/lib/3rdParty/tcpdf
install -D --mode=644 debian/lam.apache.conf debian/ldap-account-manager/etc/ldap-account-manager/apache.conf
install -D --mode=644 debian/lam.nginx.conf debian/ldap-account-manager/etc/ldap-account-manager/nginx.conf
install -D --mode=644 config/config.cfg.sample debian/ldap-account-manager/etc/ldap-account-manager/config.cfg