summaryrefslogtreecommitdiff
path: root/bootstrap/rust-1.60/maintain
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/rust-1.60/maintain')
-rwxr-xr-xbootstrap/rust-1.60/maintain17
1 files changed, 17 insertions, 0 deletions
diff --git a/bootstrap/rust-1.60/maintain b/bootstrap/rust-1.60/maintain
new file mode 100755
index 000000000..7242bcc60
--- /dev/null
+++ b/bootstrap/rust-1.60/maintain
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+# https://distfiles.smaeul.xyz/distfiles/adelie/
+# https://gist.github.com/smaeul/21b74f847c31824eed4291eb265fa801
+
+BASE=https://distfiles.smaeul.xyz/distfiles/adelie;
+DEST=/var/www/source/rust;
+
+cd ${DEST};
+
+curl -s ${BASE}/ \
+ | grep -Eo 'href=.*\.xz"' \
+ | cut -d'"' -f2 \
+ | while read k; do
+ printf " * %s\n" "${k}";
+ curl -sO ${BASE}/${k};
+ done