feather/contrib/build-deps/get-packages.sh

17 lines
408 B
Bash
Raw Normal View History

2021-06-18 22:06:57 +00:00
#!/usr/bin/env bash
for target in bionic bionic-updates bionic-security
do
mkdir "$target"
pushd "$target"
target_uri="http://archive.ubuntu.com/ubuntu/dists/$target/"
wget "$target_uri/Release"
wget "$target_uri/Release.gpg"
for repo in main multiverse restricted universe
do
mkdir "$repo"
pushd "$repo"
wget "$target_uri/$repo/binary-amd64/Packages.xz"
popd
done
popd
done