extract_debs.sh 276 B

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