From dba9624750266da4eae57fd3ad6cad20691b55ac Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 2 Jun 2020 11:20:03 -0600 Subject: [PATCH] ioncube.sh if wget https fails try again without validating the certificate --- debian/resources/ioncube.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/resources/ioncube.sh b/debian/resources/ioncube.sh index 9db8c4b..4fe4d43 100755 --- a/debian/resources/ioncube.sh +++ b/debian/resources/ioncube.sh @@ -20,7 +20,9 @@ fi if [ .$cpu_architecture = .'x86' ]; then #get the ioncube 64 bit loader wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip - + if [! -f ioncube_loaders_lin_x86-64.zip] + wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip + fi #uncompress the file unzip ioncube_loaders_lin_x86-64.zip @@ -30,7 +32,9 @@ elif [ ."$cpu_architecture" = ."arm" ]; then if [ .$cpu_name = .'armv7l' ]; then #get the ioncube 64 bit loader wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip - + if [! -f ioncube_loaders_lin_armv7l.zip] + wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip + fi #uncompress the file unzip ioncube_loaders_lin_armv7l.zip