index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/put-packages-onto-mirror | 15 |
diff --git a/bin/put-packages-onto-mirror b/bin/put-packages-onto-mirror new file mode 100755 index 0000000..585a740 --- /dev/null +++ b/bin/put-packages-onto-mirror @@ -0,0 +1,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 + |