diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index d1b6e63..f3bd39d 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,3 +1,4 @@ +* ARM and ARM64 architectures are not supported * The app can only be installed at the root of a domain * There is no integration with YunoHost SSO * A email is send at the end of the installation with the Beta Invite Code diff --git a/scripts/install b/scripts/install index 7c43d51..5ea9d83 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,11 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=1 +if [[ $YNH_ARCH =~ ^arm ]] || [ $YNH_ARCH == "aarch64" ] +then + ynh_die --message="Sorry, this app cannot be installed on ARM and ARM64 architectures." +fi + final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder"