From 6aa9e5efff8814c3e631d73dfabf3c091fa8fddb Mon Sep 17 00:00:00 2001 From: anmol26s Date: Mon, 25 Jun 2018 10:01:49 +0530 Subject: [PATCH] Temp dir remove in upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index d5a0bda..2dd1ceb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -78,6 +78,7 @@ ynh_secure_remove "$final_path" # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source "$final_path" sudo cp -a "$tmpdir/data" "${final_path}/data" +sudo rm -Rf "$tmpdir" #================================================= # NGINX CONFIGURATION