From 062cc7231a4ab644e4a251ca744f8f985b77c4d8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 15 Mar 2021 18:22:46 +0100 Subject: [PATCH] App can't be installed on arm --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 76817ab..c66fae0 100644 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,11 @@ ynh_script_progression --message="Validating installation parameters..." final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" +if dpkg-architecture --is armhf +then + ynh_die --message="Sorry, this app can not be installed on an ARM architecture" +fi + # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url