index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/delete-packages-from-mirror | 15 |
diff --git a/bin/delete-packages-from-mirror b/bin/delete-packages-from-mirror new file mode 100755 index 0000000..4348d33 --- /dev/null +++ b/bin/delete-packages-from-mirror @@ -0,0 +1,15 @@ +#!/bin/sh + +# delete 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 + +cat "$filelist" | sed 's/\(.*\)/rm pool\/\1/' | + failsafe_sftp + |