29 May
2010
29 May
'10
9:08 p.m.
On Sat, May 29, 2010 at 03:44:07PM -0400, Nezmer wrote:
If "file -bizL" does not return a supported type. Check if the dist file is recognized by bsdtar and if yes extract from it.
This is great, but I think this check:
if bsdtar -tf "$file" &>/dev/null; then Should come before: local file_type=$(file -bizL "$file")
If bsdtar -tf is deemed as reliable, then it should make the file(1) check redundant, seeing that makepkg uses bsdtar to extract. Andres P