extract_debs.sh 268 B

123456789101112131415161718
  1. #!/bin/bash
  2. ppa_dir=./ppa/
  3. pushd $ppa_dir
  4. for f in *.deb; do
  5. echo "Extracting $f..."
  6. ar xv "$f"
  7. rm debian-binary
  8. rm control.tar.*
  9. tar xf data.tar.* --exclude=*mingw*/bin/fluid
  10. rm data.tar.*
  11. done
  12. popd
  13. echo "Your extracted files should be located in $ppa_dir"