mirror of
https://github.com/feather-wallet/feather.git
synced 2024-10-31 17:37:43 +00:00
25 lines
No EOL
557 B
Bash
25 lines
No EOL
557 B
Bash
#!/usr/bin/env bash
|
|
|
|
base_uri="http://archive.ubuntu.com/ubuntu/dists"
|
|
arch="amd64"
|
|
if [ "$(uname -m)" = "aarch64" ]; then
|
|
base_uri="http://ports.ubuntu.com/ubuntu-ports/dists"
|
|
arch="arm64"
|
|
fi
|
|
|
|
for target in bionic bionic-updates bionic-security
|
|
do
|
|
mkdir "$target"
|
|
pushd "$target"
|
|
target_uri="$base_uri/$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-$arch/Packages.xz"
|
|
popd
|
|
done
|
|
popd
|
|
done |