1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00

fix architecture comparison

This commit is contained in:
yalh76 2019-07-10 23:20:05 +02:00
parent 3699fd0e6e
commit 229c08808d

View file

@ -36,7 +36,7 @@ app=$YNH_APP_INSTANCE_NAME
ynh_print_info --message="Validating installation parameters..." ynh_print_info --message="Validating installation parameters..."
# Check machine architecture (in particular, we don't support ARM and 32bit machines) # 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 then
ynh_die --message="Sorry, but this app can only be installed on a x86, 64 bits machine :(" ynh_die --message="Sorry, but this app can only be installed on a x86, 64 bits machine :("
fi fi