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 #=================================================