Fix Raspberry Pi ioncube install.
This commit is contained in:
parent
ceb0f06f63
commit
2eece9d01e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue