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:
parent
572a73e6b3
commit
bd51035dcb
2 changed files with 4 additions and 1 deletions
|
@ -121,6 +121,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL NOCODB
|
# INSTALL NOCODB
|
||||||
#=================================================
|
#=================================================
|
||||||
|
if [ $YNH_ARCH != "arm64" || $YNH_ARCH != "amd64" ]; then
|
||||||
ynh_script_progression --message="Installing NocoDB..." --weight=5
|
ynh_script_progression --message="Installing NocoDB..." --weight=5
|
||||||
|
|
||||||
ynh_use_nodejs
|
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
|
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
|
||||||
popd
|
popd
|
||||||
|
fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -113,6 +113,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERFORMING NOCODB UPGRADE
|
# PERFORMING NOCODB UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
if [ $YNH_ARCH != "arm64" || $YNH_ARCH != "amd64" ]; then
|
||||||
ynh_script_progression --message="Upgrading NocoDB..." --weight=5
|
ynh_script_progression --message="Upgrading NocoDB..." --weight=5
|
||||||
|
|
||||||
ynh_use_nodejs
|
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
|
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
|
||||||
popd
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue