mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Stop doing expensive package re-fetch on upgrade https://forum.virtualmin.com/t/updates-webmin-virtualmin-hangs-for-a-long-time/118662
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
|
||||
do 'package-updates-lib.pl';
|
||||
|
||||
sub module_install
|
||||
{
|
||||
# Force clear all caches, as collected information may have changed
|
||||
&flush_package_caches();
|
||||
|
||||
if ($software::update_system ne 'yum' &&
|
||||
!&foreign_check("security-updates")) {
|
||||
# Re-generate cache of possible packages
|
||||
&list_possible_updates();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user