archive: fix unrar-free and add support for unar (#1383)
* archive: fix unrar check when using unrar-free unrar-free returns the error code 1 when run without arguments, thus failing the presence check. Replacing the current presence check with (( $+commands[unrar] )) fixes the problem. * archive: add unar support for lsarchive and unarchive No `archive` support with unar.main
parent
cd703d3c3c
commit
9520f1be6f
Loading…
Reference in new issue