unpackFile: ignore timestamp warnings
This commit is contained in:
parent
2e04b29a17
commit
5e2f703e83
1 changed files with 2 additions and 2 deletions
|
@ -832,12 +832,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
|
||||
|
|
Loading…
Reference in a new issue