From a71f177219a3d8d54138808acdb33cb932c51e15 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 27 Apr 2021 23:58:57 +0200 Subject: [PATCH] cleanup cache --- scripts/install | 2 ++ scripts/upgrade | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 66b7c6c..b8715ed 100644 --- a/scripts/install +++ b/scripts/install @@ -199,6 +199,8 @@ ynh_store_file_checksum --file="$config" chmod 400 "$config" chown $app:$app "$config" +ynh_secure_remove --file="$final_path/.cache" + #================================================= # SETUP SYSTEMD #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 1f09fe5..2afb2b5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -264,6 +264,8 @@ ynh_store_file_checksum --file="$config" chmod 400 "$config" chown $app:$app "$config" +ynh_secure_remove --file="$final_path/.cache" + #================================================= # SETUP SYSTEMD #=================================================