[pve-devel] applied: [PATCH] try all available compressors for Packages
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jul 14 17:37:59 CEST 2021
On 14.07.21 16:49, Stoiko Ivanov wrote:
> Some repositories (e.g. debian-security) only offer .xz compressed
> Packages, others (e.g. promox repositories) only .gz compressed ones.
>
> Make the compressors an array and try them in order until successful
>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> Note: best viewed with `-w`
> Was not too sure about the comment on it being hacky - but it seems ok to me
> this way (I think this is what apt does as well?)
>
> DAB.pm | 38 +++++++++++++++++++++++---------------
> 1 file changed, 23 insertions(+), 15 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list