Skip to content

Instantly share code, notes, and snippets.

@kdm9
Last active January 29, 2016 12:59
Show Gist options
  • Save kdm9/c34320a68316a5dd44d9 to your computer and use it in GitHub Desktop.
Save kdm9/c34320a68316a5dd44d9 to your computer and use it in GitHub Desktop.
for pkg in $(cat allpkgs)
do
mkdir -p "${pkg}"
wget -nv -O "${pkg}/upstream_metadata" \
"http://anonscm.debian.org/cgit/debian-med/${pkg}.git/plain/debian/upstream/metadata" \
|| rm -f "${pkg}/upstream_metadata"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment