apt: sort packages for update notifcation mail
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		@ -143,6 +143,7 @@ pub fn apt_update_database(
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            if !to_notify.is_empty() {
 | 
			
		||||
                to_notify.sort_unstable_by_key(|k| &k.package);
 | 
			
		||||
                crate::server::send_updates_available(&to_notify)?;
 | 
			
		||||
            }
 | 
			
		||||
            cache.notified = Some(notified);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user