mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-16 19:06:45 +08:00
feat(extract): add support for multi-part 7z (#12484)
This commit is contained in:
1 parent
e898de0664
commit
4e8099175e
1 file changed
+1
-1
@@ -80,7 +80,7 @@ EOF
|
|||||||
(*.rar) unrar x -ad "$full_path" ;;
|
(*.rar) unrar x -ad "$full_path" ;;
|
||||||
(*.rpm)
|
(*.rpm)
|
||||||
rpm2cpio "$full_path" | cpio --quiet -id ;;
|
rpm2cpio "$full_path" | cpio --quiet -id ;;
|
||||||
(*.7z) 7za x "$full_path" ;;
|
(*.7z | *.7z.[0-9]*) 7za x "$full_path" ;;
|
||||||
(*.deb)
|
(*.deb)
|
||||||
command mkdir -p "control" "data"
|
command mkdir -p "control" "data"
|
||||||
ar vx "$full_path" > /dev/null
|
ar vx "$full_path" > /dev/null
|
||||||
|
|||||||
Reference in new issue
Block a user