Skip to content

Commit 0379b3e

Browse files
committed
Add extra check for curl for ARM systems
1 parent 6e8dd89 commit 0379b3e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bin/v-update-sys-hestia-git

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,13 @@ echo "[*] Checking for missing dependencies and installing required libraries...
153153
apt-get -qq install -y $SOFTWARE > /dev/null 2>&1
154154

155155
# Fix for Debian PHP Envroiment
156-
ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl > /dev/null 2>&1
156+
if [ ! -e /usr/local/include/curl ]; then
157+
if [ $BUILD_ARCH == "amd64" ]; then
158+
ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
159+
else
160+
echo "No x86_64 working"
161+
fi
162+
fi
157163

158164
# Get system cpu cores
159165
NUM_CPUS=$(grep "^cpu cores" /proc/cpuinfo | uniq | awk '{print $4}')

0 commit comments

Comments
 (0)