From f3b8513d4c86d3b69eb730670fab105fd232365c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 12 Jul 2024 13:39:11 +0200 Subject: [PATCH] Fix upgrade --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1b9fcaf..7f86dc3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -31,6 +31,7 @@ _build_install_framagames() { ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" "$ynh_npm" run prod popd + ynh_secure_remove --file="$install_dir/www" mv -f "$install_dir/sources/dist" "$install_dir/www" mv -f "$install_dir/sources/games/"* "$install_dir/www" mv -f "$install_dir/www/framagames/"* "$install_dir/www"