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

Fix if then

This commit is contained in:
tituspijean 2023-01-28 19:33:02 +01:00
parent 660b66f9a7
commit 572a73e6b3
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -150,7 +150,7 @@ chown $app:$app "$final_path/.env"
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
if [ $YNH_ARCH = "arm64" || $YNH_ARCH = "amd64" ];
if [ $YNH_ARCH = "arm64" || $YNH_ARCH = "amd64" ]; then
nocodb_startcommand="nocodb"
else
nocodb_startcommand="$ynh_node index.js"

View file

@ -134,7 +134,7 @@ popd
#=================================================
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
if [ $YNH_ARCH = "arm64" || $YNH_ARCH = "amd64" ];
if [ $YNH_ARCH = "arm64" || $YNH_ARCH = "amd64" ]; then
nocodb_startcommand="nocodb"
else
nocodb_startcommand="$ynh_node index.js"