Re: [pacman-dev] [PATCH 1/3] libmakepkg: use extraction commands instead of file to find archive type

2019-12-01 Thread Allan McRae
On 27/11/19 7:29 am, Ethan Sommer wrote: > Previously, to determine which command we should use to extract an > archive, we would run file and match the output against our list of > possible extraction commands > > Instead, run the archive through each extraction command's -t (--test) > flag, if

Re: [pacman-dev] [PATCH 1/3] libmakepkg: use extraction commands instead of file to find archive type

2019-11-27 Thread Eli Schwartz
On 11/26/19 4:29 PM, Ethan Sommer wrote: > Previously, to determine which command we should use to extract an > archive, we would run file and match the output against our list of > possible extraction commands > > Instead, run the archive through each extraction command's -t (--test) > flag, if

[pacman-dev] [PATCH 1/3] libmakepkg: use extraction commands instead of file to find archive type

2019-11-26 Thread Ethan Sommer
Previously, to determine which command we should use to extract an archive, we would run file and match the output against our list of possible extraction commands Instead, run the archive through each extraction command's -t (--test) flag, if this succeeds then we know that the command is able