summaryrefslogblamecommitdiff
path: root/user/rust/maintain
blob: 7242bcc60bdc51609c642b245bbac568af41cb27 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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