diff --git a/debian/resources/ioncube.sh b/debian/resources/ioncube.sh index c213a53..223148d 100755 --- a/debian/resources/ioncube.sh +++ b/debian/resources/ioncube.sh @@ -8,6 +8,10 @@ cd "$(dirname "$0")" . ./colors.sh . ./environment.sh +#show cpu details +echo "cpu architecture: $cpu_architecture" +echo "cpu name: $cpu_name" + #make sure unzip is install apt-get install -y unzip @@ -26,7 +30,7 @@ if [ .$cpu_architecture = .'x86' ]; then #remove the zip file rm ioncube_loaders_lin_x86-64.zip -elif [ ."$cpu_architecture" = ."arm" ]; then +elif [ .$cpu_architecture = ."arm" ]; then if [ .$cpu_name = .'armv7l' ]; then #get the ioncube 64 bit loader wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip