[pacman-dev] [PATCH v3 1/2] libmakepkg: extend compress.sh to also permit checking validity
allan at archlinux.org
Sun Aug 9 23:59:31 UTC 2020
On 6/8/20 12:02 am, Eli Schwartz wrote:
> get_compression_command() can now be used to do upfront checks for
> whether a given extension is known to do something successfully. This is
> useful when writing tools in which an unknown compression type is a
> fatal error.
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> v3: split commit, this first part implements a function useful for
> checking if we have a known good compression type
I'm happy with this and the following patch.
More information about the pacman-dev