1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

feat(extract): support obscpio format (#11511)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
Filippo Bonazzi
2023-02-22 10:16:28 +01:00
committed by GitHub
parent 9f9d3b7d24
commit a4f08ad238
3 changed files with 10 additions and 9 deletions

View File

@@ -72,7 +72,7 @@ EOF
builtin cd -q ..; command rm *.tar.* debian-binary ;;
(*.zst) unzstd "$file" ;;
(*.cab) cabextract -d "$extract_dir" "$file" ;;
(*.cpio) cpio -idmvF "$file" ;;
(*.cpio|*.obscpio) cpio -idmvF "$file" ;;
(*.zpaq) zpaq x "$file" ;;
(*)
echo "extract: '$file' cannot be extracted" >&2