summaryrefslogtreecommitdiffstats
path: root/mirror
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-18 13:07:29 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-18 13:07:29 +0100
commitddd0c04ca02f62abba2e26e2f205b90f3cee02f8 (patch)
treeb16f75f53aac0e2dea94c0f2e7154f6b381326cd /mirror
parentf7a3f0ab308509135b943a394252e83883c4b54d (diff)
cleanup mirror list + add http://mirror.veriteknik.net.tr/remi/ for test
Diffstat (limited to 'mirror')
-rwxr-xr-xmirror14
1 files changed, 14 insertions, 0 deletions
diff --git a/mirror b/mirror
index dd8d8011..f4130ea0 100755
--- a/mirror
+++ b/mirror
@@ -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