From 3a233db13cc43cc798c80f5f1e4e6738010f4e92 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Thu, 10 Aug 2023 17:30:25 +0300 Subject: [PATCH] Fix to clear package updates cache on cache clear --- authentic-lib.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/authentic-lib.pl b/authentic-lib.pl index 54a8fa3ff..c0c5db91b 100644 --- a/authentic-lib.pl +++ b/authentic-lib.pl @@ -1700,6 +1700,10 @@ sub clear_theme_cache unlink_file("$product_var/modules/webmin/announce-cache"); unlink_file("$product_var/modules/webmin/oscache"); unlink_file("$product_var/modules/webmin/realos-cache"); + + # Remove package updates cache + unlink_file("$product_var/modules/package-updates/current.cache"); + unlink_file("$product_var/modules/package-updates/updates.cache"); } # Clear user cached collected info