mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-20 14:30:48 +00:00
abuild: unpack .tar.zst
This commit is contained in:
parent
16febc41a2
commit
97509ac620
@ -535,6 +535,9 @@ default_unpack() {
|
|||||||
threads_opt="--threads=0"
|
threads_opt="--threads=0"
|
||||||
fi
|
fi
|
||||||
unxz $threads_opt -c "$s" | tar -C "$srcdir" -x || return 1;;
|
unxz $threads_opt -c "$s" | tar -C "$srcdir" -x || return 1;;
|
||||||
|
*.tar.zst)
|
||||||
|
msg "Unpacking $s..."
|
||||||
|
tar -C "$srcdir" --zstd -xf "$s" || return 1;;
|
||||||
*.zip)
|
*.zip)
|
||||||
msg "Unpacking $s..."
|
msg "Unpacking $s..."
|
||||||
unzip -n -q "$s" -d "$srcdir" || return 1;;
|
unzip -n -q "$s" -d "$srcdir" || return 1;;
|
||||||
|
Loading…
Reference in New Issue
Block a user