From 5a020512e7ffa61048b5e6e0fd7d9e7d1ac623e5 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 15 Mar 2021 18:24:34 +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 8f75917..339e753 100644 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,11 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." +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