move scripts to .bin

This commit is contained in:
Nicholas Long
2022-07-06 05:30:22 +00:00
parent 37672d48b9
commit 6aa54766d9
8 changed files with 1 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# get new package URLs
# load the list of amd64 packages from ubuntu
export dist="$(cat current_distro)"
export repo="http://archive.ubuntu.com/ubuntu"
# print URLs
curl $repo/dists/$dist/main/binary-amd64/Packages.gz | \
gzip -d | awk '/^Filename: / { print ENVIRON["repo"] "/" $2 }'