Archive : Fix tar unarchive.

This commit is contained in:
Dmitry Voronin 2024-05-23 20:53:10 +03:00
parent 8fbd1a70d9
commit c4ed60c585
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -249,6 +249,9 @@
"txz") "txz")
''${remote[@]} pv -f ''${file} | xz -d | tar -xf - ''${remote[@]} pv -f ''${file} | xz -d | tar -xf -
;; ;;
"tar")
''${remote[@]} pv -f ''${file} | tar -xf -
;;
"tgz") "tgz")
''${remote[@]} pv -f ''${file} | gzip -d | tar -xf - ''${remote[@]} pv -f ''${file} | gzip -d | tar -xf -
;; ;;