From 00559ad1f16979c1686e5fbd22182c318fdd0394 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 2 Feb 2021 12:49:42 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e75be60..e8c5fbd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,7 +63,7 @@ then ynh_secure_remove --file="$final_path" # Download, the source from sources folder - cp -a ../sources/* $final_path + mkdir -p $final_path && cp -a ../sources/* $final_path ynh_replace_string --match_string="__DOMAIN____PATH__" --replace_string="$domain$path_url" --target_file="$final_path/index.html" fi