Archive : Do not validate before extract.
This commit is contained in:
parent
4d629ed08a
commit
94b868bf93
|
@ -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 -
|
||||
|
|
Reference in a new issue