try to add armhf and arm64 ci build
[pcsx_rearmed.git] / .github / extract-foreign.sh
1 #!/bin/bash
2 set -e
3
4 url_base="http://ports.ubuntu.com/ubuntu-ports/"
5 paths=`apt-cache show "$@" | grep '^Filename:' | awk '{print $2}'`
6 for p in $paths; do
7   base=`basename $p`
8   wget -nv "${url_base}${p}"
9   echo "exctacting $base"
10   dpkg-deb -x "$base" .
11 done