From eb6ead78c01dc42d3444a232f0e59ba72c957367 Mon Sep 17 00:00:00 2001 From: dragondaddy Date: Tue, 14 Nov 2023 09:58:24 +0100 Subject: [PATCH] data_dir not recognised in scripts/config? --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 369220f..60be5e4 100644 --- a/scripts/config +++ b/scripts/config @@ -75,7 +75,7 @@ set__git_branch_mode() { ynh_print_info "Switching to \"release\" branch" (cd "$install_dir" && ynh_exec_as "$app" git checkout release) ynh_print_info "Full update of the website" - (cd "$data_dir" && bash daily-update.sh >> daily-updates.log 2>&1) + bash $data_dir/daily-update.sh >> $data_dir/daily-updates.log 2>&1 else ynh_die --message="\"release\" branch is behind your local \"dev\" branch, rolling back is not allowed here" exit 1