Merge pull request #137209 from milahu/patch-10

This commit is contained in:
Artturi 2021-10-25 20:32:06 +03:00 committed by GitHub
commit 0809a3a44b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -859,12 +859,12 @@ _defaultUnpack() {
case "$fn" in
*.tar.xz | *.tar.lzma | *.txz)
# Don't rely on tar knowing about .xz.
xz -d < "$fn" | tar xf -
xz -d < "$fn" | tar xf - --warning=no-timestamp
;;
*.tar | *.tar.* | *.tgz | *.tbz2 | *.tbz)
# GNU tar can automatically select the decompression method
# (info "(tar) gzip").
tar xf "$fn"
tar xf "$fn" --warning=no-timestamp
;;
*)
return 1