vendor.sh: don't use unrar

the only practical way to use it is to to use
the non-free version; currently used as a
fallback if unar fails.

however, i'm also going to scrap unar and
use bsdtar instead.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-09-28 01:44:50 +01:00
parent 7b297a44ce
commit e527820ceb
+1 -3
View File
@@ -296,9 +296,7 @@ extract_archive()
:
elif 7z x "$1" -o"$2"; then
:
elif unar -f "$1" -o "$2" || unrar -o+ -op"$2" x "$1"; then
# compatible with unrar-free and unrar-nonfree
elif unar -f "$1" -o "$2"; then
:
elif unzip "$1" -d "$2"; then
: