index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-01-30 06:44:46 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-01-30 06:44:46 +0100 |
commit | 568ab0889d60da4ed89313994f04712ec1f0cac2 (patch) | |
tree | ceb9f76b9b99bcd52adfeb8146a30cb823be70e0 | |
parent | 7d3e29f153f78476898186e5530823809dccf314 (diff) |
-rwxr-xr-x | bin/get-packages-from-mirror | 15 |
diff --git a/bin/get-packages-from-mirror b/bin/get-packages-from-mirror new file mode 100755 index 0000000..391b09b --- /dev/null +++ b/bin/get-packages-from-mirror @@ -0,0 +1,15 @@ +#!/bin/sh + +# get packages from a list on the master mirror (in +# case they are dangling after a db-update + +# shellcheck disable=SC2119,SC2120 + +# shellcheck source=../lib/load-configuration +. "${0%/*}/../lib/load-configuration" + +filelist=$1 + +sed 's/\(.*\)/get pool\/\1/' "$filelist" | + failsafe_sftp + |