summaryrefslogtreecommitdiff
path: root/bin/get-packages-from-mirror
blob: 391b09b2eeba80a833655531e856c77095346299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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