forked from Proxmox/proxmox
fix #5249: apt: allow parsing Packages without Priority field
it seems there are repositories out there that don't (always) include it, and while it is required for the .deb packages themselves in Debian, the repository "spec" doesn't make it mandatory. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
6b393ac0ce
commit
f03f16d643
@ -14,7 +14,7 @@ pub struct PackagesFileRaw {
|
||||
pub source: Option<String>,
|
||||
pub version: String,
|
||||
pub section: Option<String>,
|
||||
pub priority: String,
|
||||
pub priority: Option<String>,
|
||||
pub architecture: String,
|
||||
pub essential: Option<String>,
|
||||
pub depends: Option<String>,
|
||||
|
Loading…
Reference in New Issue
Block a user