Commit f12cb5a6 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

extract: fix extraction of deb packages with data.tar.xz

parent 09d95251
...@@ -56,8 +56,8 @@ extract() { ...@@ -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 ..
;; ;;
(*) (*)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment