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

Fix tests²

This commit is contained in:
tituspijean 2023-01-28 19:39:13 +01:00
parent 0891c61701
commit 59588e9bb3
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 4 additions and 4 deletions

View file

@ -121,7 +121,7 @@ ynh_add_nginx_config
#================================================= #=================================================
# INSTALL NOCODB # INSTALL NOCODB
#================================================= #=================================================
if [ $YNH_ARCH != "arm64" || $YNH_ARCH != "amd64" ]; then 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
@ -151,7 +151,7 @@ chown $app:$app "$final_path/.env"
#================================================= #=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
if [ $YNH_ARCH == "arm64" || $YNH_ARCH == "amd64" ]; then if [ $YNH_ARCH == "arm64" ] || [ $YNH_ARCH == "amd64" ]; then
nocodb_startcommand="nocodb" nocodb_startcommand="nocodb"
else else
nocodb_startcommand="$ynh_node index.js" nocodb_startcommand="$ynh_node index.js"

View file

@ -113,7 +113,7 @@ ynh_add_nginx_config
#================================================= #=================================================
# PERFORMING NOCODB UPGRADE # PERFORMING NOCODB UPGRADE
#================================================= #=================================================
if [ $YNH_ARCH != "arm64" || $YNH_ARCH != "amd64" ]; then 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
@ -136,7 +136,7 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
if [ $YNH_ARCH == "arm64" || $YNH_ARCH == "amd64" ]; then if [ $YNH_ARCH == "arm64" ] || [ $YNH_ARCH == "amd64" ]; then
nocodb_startcommand="nocodb" nocodb_startcommand="nocodb"
else else
nocodb_startcommand="$ynh_node index.js" nocodb_startcommand="$ynh_node index.js"