diff --git a/scripts/install b/scripts/install index 4548150..ac64594 100644 --- a/scripts/install +++ b/scripts/install @@ -34,6 +34,12 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=1 +# Stop if architecture is ARM +case $YNH_ARCH in + arm*|armhf) ynh_die --message="Sorry, your architecture $YNH_ARCH is not supported by CodiMD. Aborting.";; + *) ;; +esac + final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder"