mirror of
https://github.com/YunoHost-Apps/nocodb_ynh.git
synced 2024-09-03 19:56:01 +02:00
Prevent installation on ARM and ARMHF
This commit is contained in:
parent
c13b05deca
commit
d8af85d68d
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||||
|
|
||||||
|
# Stop if architecture is 32-bit ARM
|
||||||
|
case $YNH_ARCH in
|
||||||
|
arm|armhf) ynh_die --message="Sorry, your architecture $YNH_ARCH is not supported by NocoDB. Aborting.";;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
|
|
||||||
final_path=/opt/yunohost/$app
|
final_path=/opt/yunohost/$app
|
||||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue