Archive : Do not validate before extract.

This commit is contained in:
Dmitry Voronin 2024-01-31 02:06:57 +03:00
parent 4d629ed08a
commit 94b868bf93

View file

@ -232,9 +232,9 @@ function unarchive() {
process() {
# Validate.
_archive_check "${target}" || return 1
# _archive_check "${target}" || return 1
# extract if hash matched or show error if not.
# Extract.
case "${target##*.}" in
"txz")
pv ${target} | xz -d | tar -xf -