mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 01:00:08 +00:00
extract: fix extraction of deb packages with data.tar.xz
This commit is contained in:
parent
09d95251a7
commit
f12cb5a697
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ extract() {
|
||||||
mkdir -p "$extract_dir/data"
|
mkdir -p "$extract_dir/data"
|
||||||
cd "$extract_dir"; ar vx "../${1}" > /dev/null
|
cd "$extract_dir"; ar vx "../${1}" > /dev/null
|
||||||
cd control; tar xzvf ../control.tar.gz
|
cd control; tar xzvf ../control.tar.gz
|
||||||
cd ../data; tar xzvf ../data.tar.gz
|
cd ../data; extract ../data.tar.*
|
||||||
cd ..; rm *.tar.gz debian-binary
|
cd ..; rm *.tar.* debian-binary
|
||||||
cd ..
|
cd ..
|
||||||
;;
|
;;
|
||||||
(*)
|
(*)
|
||||||
|
|
Loading…
Reference in a new issue