Skip to content

Commit

Permalink
Fix to clear package updates cache on cache clear
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Aug 10, 2023
1 parent 0c38380 commit 3a233db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions authentic-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a233db

Please sign in to comment.