From ddd0c04ca02f62abba2e26e2f205b90f3cee02f8 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Fri, 18 Mar 2016 13:07:29 +0100
Subject: cleanup mirror list + add http://mirror.veriteknik.net.tr/remi/ for
 test

---
 mirror | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'mirror')

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
-- 
cgit