@@ -35,8 +35,9 @@ timestamp() {
3535apt-get install -y $SOFTWARE
3636
3737# Fix for Debian PHP Envroiment
38- cd /usr/local/include
39- ln -s /usr/include/x86_64-linux-gnu/curl curl
38+ if [ ! -f /usr/local/include/curl ]; then
39+ ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
40+ fi
4041
4142# Set packages to compile
4243for arg; do
@@ -118,6 +119,7 @@ if [ "$NGINX_B" = true ] ; then
118119 # Download control, postinst and postrm files
119120 cd DEBIAN
120121 wget $GIT_REP /nginx/control
122+ wget $GIT_REP /nginx/copyright
121123 wget $GIT_REP /nginx/postinst
122124 wget $GIT_REP /nginx/postrm
123125
@@ -199,6 +201,7 @@ if [ "$PHP_B" = true ] ; then
199201 # Download control, postinst and postrm files
200202 cd DEBIAN
201203 wget $GIT_REP /php/control
204+ wget $GIT_REP /php/copyright
202205
203206 # Move php directory
204207 cd ..
@@ -249,6 +252,7 @@ if [ "$HESTIA_B" = true ] ; then
249252 # Download control, postinst and postrm files
250253 cd DEBIAN
251254 wget $GIT_REP /hestia/control
255+ wget $GIT_REP /hestia/copyright
252256 wget $GIT_REP /hestia/postinst
253257
254258 # Set permission
0 commit comments