Fix Raspberry Pi ioncube install.

This commit is contained in:
FusionPBX 2021-06-25 11:24:07 -06:00 committed by GitHub
parent ceb0f06f63
commit 2eece9d01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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