From b28183a3cbc5f3919efe09d44490c83c7756a51a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 10 Jul 2019 23:20:31 +0200 Subject: [PATCH] fix architecture comparison --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 19f0bab..1ff8708 100755 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,7 @@ app=$YNH_APP_INSTANCE_NAME ynh_print_info --message="Validating installation parameters..." # Check machine architecture (in particular, we don't support ARM and 32bit machines) -if [ $architecture == "x86_64" ] && [ $architecture == "arm" ] +if [ $architecture == "x86_64" ] || [ $architecture == "arm" ] then ynh_die --message="Sorry, but this app can only be installed on a x86, 64 bits machine :(" fi