summaryrefslogtreecommitdiff
path: root/bin/put-packages-onto-mirror
blob: 585a740ebd2678658185579532ee518184b4472e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# put local package files from a list onto 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/\(.*\)/put \1 pool\/\1/' "$filelist" |
    failsafe_sftp