diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-03-18 13:07:29 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-03-18 13:07:29 +0100 |
commit | ddd0c04ca02f62abba2e26e2f205b90f3cee02f8 (patch) | |
tree | b16f75f53aac0e2dea94c0f2e7154f6b381326cd /mirror | |
parent | f7a3f0ab308509135b943a394252e83883c4b54d (diff) |
cleanup mirror list + add http://mirror.veriteknik.net.tr/remi/ for test
Diffstat (limited to 'mirror')
-rwxr-xr-x | mirror | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -83,6 +83,20 @@ off) if [ -z "$2" ]; then done ;; +del) if [ -z "$2" ]; then + echo "Missing mirror path" + exit 1 + fi + for fic in */{?,??}/*/mirror + do + if grep -q "$2" $fic + then + echo "Removed from $fic" + sed -e "\@$2@d" -i $fic + fi + done + ;; + status) if [ -z "$2" ]; then echo "Missing mirror path" exit 1 |