forked from norman/fusionpbx-install.sh-github-mirror
Fix Raspberry Pi ioncube install.
This commit is contained in:
6
debian/resources/ioncube.sh
vendored
6
debian/resources/ioncube.sh
vendored
@@ -8,6 +8,10 @@ cd "$(dirname "$0")"
|
|||||||
. ./colors.sh
|
. ./colors.sh
|
||||||
. ./environment.sh
|
. ./environment.sh
|
||||||
|
|
||||||
|
#show cpu details
|
||||||
|
echo "cpu architecture: $cpu_architecture"
|
||||||
|
echo "cpu name: $cpu_name"
|
||||||
|
|
||||||
#make sure unzip is install
|
#make sure unzip is install
|
||||||
apt-get install -y unzip
|
apt-get install -y unzip
|
||||||
|
|
||||||
@@ -26,7 +30,7 @@ if [ .$cpu_architecture = .'x86' ]; then
|
|||||||
|
|
||||||
#remove the zip file
|
#remove the zip file
|
||||||
rm ioncube_loaders_lin_x86-64.zip
|
rm ioncube_loaders_lin_x86-64.zip
|
||||||
elif [ ."$cpu_architecture" = ."arm" ]; then
|
elif [ .$cpu_architecture = ."arm" ]; then
|
||||||
if [ .$cpu_name = .'armv7l' ]; then
|
if [ .$cpu_name = .'armv7l' ]; then
|
||||||
#get the ioncube 64 bit loader
|
#get the ioncube 64 bit loader
|
||||||
wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip
|
wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user