From 43155b7c0ba828e5b183773036f9d5fb7a5ee920 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 22 Feb 2019 12:41:07 +0100 Subject: [PATCH] trying to fix nodejs install on aarch64 --- scripts/install | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 378df49..b8c4559 100644 --- a/scripts/install +++ b/scripts/install @@ -101,7 +101,12 @@ ynh_print_info "Installing dependencies..." ### - As well as the section "REINSTALL DEPENDENCIES" in the restore script ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script -ynh_install_nodejs 10 + +if [ -n "$(uname -m | grep aarch64)" ]; then + ynh_install_nodejs 10 --arch arm64 +else + ynh_install_nodejs 10 +fi ynh_install_app_dependencies postgresql postgresql-contrib