]> git.proxmox.com Git - dab.git/commit
try all available compressors for Packages
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 14 Jul 2021 14:49:25 +0000 (16:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Jul 2021 15:37:08 +0000 (17:37 +0200)
commitdbac106eb6e3cff405e57c0bb6a6dbe3cf307c52
treef7780418dfb3ea533c5bb58a6677064f6e5b5dc8
parent253f66eba922a6143f94936f28c75d76cd1c0086
try all available compressors for Packages

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@proxmox.com>
DAB.pm