From d44cfc271a7f8975ec87cc6e005eccb2a09e2a28 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 19 Apr 2020 16:36:08 +0200 Subject: [PATCH] Purging Kimai2 during upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index c4c059f..04a09f0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,6 +109,8 @@ then cp -af "$final_path/var/data" "$tmpdir/." fi + ynh_secure_remove --file="$final_path" + # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path"