1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nocodb_ynh.git synced 2024-09-03 19:56:01 +02:00

Do not attempt to build if binairies were downloaded

This commit is contained in:
tituspijean 2023-01-28 19:35:21 +01:00
parent 572a73e6b3
commit bd51035dcb
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 4 additions and 1 deletions

View file

@ -121,6 +121,7 @@ ynh_add_nginx_config
#=================================================
# INSTALL NOCODB
#=================================================
if [ $YNH_ARCH != "arm64" || $YNH_ARCH != "amd64" ]; then
ynh_script_progression --message="Installing NocoDB..." --weight=5
ynh_use_nodejs
@ -134,7 +135,7 @@ pushd $final_path
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
popd
fi
#=================================================
# ADD A CONFIGURATION
#=================================================

View file

@ -113,6 +113,7 @@ ynh_add_nginx_config
#=================================================
# PERFORMING NOCODB UPGRADE
#=================================================
if [ $YNH_ARCH != "arm64" || $YNH_ARCH != "amd64" ]; then
ynh_script_progression --message="Upgrading NocoDB..." --weight=5
ynh_use_nodejs
@ -128,6 +129,7 @@ pushd $final_path
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
popd
fi
#=================================================
# SETUP SYSTEMD