File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,9 @@ echo "[*] Checking for missing dependencies and installing required libraries...
158158apt-get -qq install -y $SOFTWARE > /dev/null 2>&1
159159
160160# Fix for Debian PHP Envroiment
161- if [ ! -e /usr/local/include/curl ]; then
162- if [ $BUILD_ARCH == " amd64 " ]; then
161+ if [ $BUILD_ARCH == " amd64 " ]; then
162+ if [ ! -L /usr/local/include/curl ]; then
163163 ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
164- else
165- echo " No x86_64 working"
166164 fi
167165fi
168166
Original file line number Diff line number Diff line change @@ -257,11 +257,9 @@ if [ "$dontinstalldeps" != 'true' ]; then
257257 apt-get -qq install -y $SOFTWARE > /dev/null 2>&1
258258
259259 # Fix for Debian PHP Envroiment
260- if [ ! -e /usr/local/include/curl ]; then
261- if [ $BUILD_ARCH == " amd64 " ]; then
260+ if [ $BUILD_ARCH == " amd64 " ]; then
261+ if [ ! -L /usr/local/include/curl ]; then
262262 ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
263- else
264- echo " No x86_64 working"
265263 fi
266264 fi
267265 fi
You can’t perform that action at this time.
0 commit comments