Update ioncube.sh
This commit is contained in:
parent
f5e1f3ed23
commit
0b2ee93dd6
|
|
@ -16,7 +16,9 @@ if [ -d "ioncube" ]; then
|
||||||
rm -Rf ioncube;
|
rm -Rf ioncube;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#get the ioncube load and unzip it
|
||||||
if [ .$cpu_architecture = .'x86' ]; then
|
if [ .$cpu_architecture = .'x86' ]; then
|
||||||
|
|
||||||
#get the ioncube 64 bit loader
|
#get the ioncube 64 bit loader
|
||||||
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
|
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
|
||||||
|
|
||||||
|
|
@ -25,6 +27,20 @@ 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
|
||||||
|
if [ .$cpu_name = .'armv7l' ]; then
|
||||||
|
|
||||||
|
#get the ioncube 64 bit loader
|
||||||
|
https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip
|
||||||
|
|
||||||
|
#uncompress the file
|
||||||
|
unzip ioncube_loaders_lin_armv7l.zip
|
||||||
|
|
||||||
|
#remove the zip file
|
||||||
|
rm ioncube_loaders_lin_armv7l.zip
|
||||||
|
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#copy the loader to the correct directory
|
#copy the loader to the correct directory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue