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