From aad2199bc3e20410040e53903846192105968840 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 2 Jun 2020 11:35:10 -0600 Subject: [PATCH] Update ioncube.sh --- debian/resources/ioncube.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/debian/resources/ioncube.sh b/debian/resources/ioncube.sh index ee9ed27..c213a53 100755 --- a/debian/resources/ioncube.sh +++ b/debian/resources/ioncube.sh @@ -19,10 +19,8 @@ fi #get the ioncube load and unzip it 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]; then - wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip - fi + wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip + #uncompress the file unzip ioncube_loaders_lin_x86-64.zip @@ -31,10 +29,8 @@ if [ .$cpu_architecture = .'x86' ]; then 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]; then - wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip - fi + wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip + #uncompress the file unzip ioncube_loaders_lin_armv7l.zip