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

fix architecture comparison

This commit is contained in:
yalh76 2019-07-10 23:20:31 +02:00
parent 8f518f2c7e
commit b28183a3cb

View file

@ -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