summaryrefslogtreecommitdiffstats
path: root/mirror
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-12-02 15:46:52 +0100
committerRemi Collet <remi@php.net>2021-12-02 15:46:52 +0100
commit74ccc38297edc27510dfb839372c4f1c0a32c0c2 (patch)
tree5e2d0b4343f6294aa28e96bc4587dddead29d3fb /mirror
parent05c16deec203bb2ede411959c71329f65bd498b5 (diff)
drop https for mirror.hoster.kz
Diffstat (limited to 'mirror')
-rwxr-xr-xmirror12
1 files changed, 6 insertions, 6 deletions
diff --git a/mirror b/mirror
index 1a6f8647..67ac19d7 100755
--- a/mirror
+++ b/mirror
@@ -11,7 +11,7 @@ add) if [ -z "$2" ]; then
echo "Missing mirror path"
exit 1
fi
- for fic in */{6,7,8,??}/*/mirror */{8,??}/*/*/mirror
+ for fic in */{6,7,8,??}/*/mirror */{?,??}/*/*/mirror
do
n=0
if grep -q "/archives/" $fic
@@ -36,7 +36,7 @@ on) if [ -z "$2" ]; then
echo "Missing mirror path"
exit 1
fi
- for fic in */{6,7,8,??}/*/mirror */{8,??}/*/*/mirror
+ for fic in */{6,7,8,??}/*/mirror */{?,??}/*/*/mirror
do
if grep -q "^## .*$2" $fic
then
@@ -50,7 +50,7 @@ off) if [ -z "$2" ]; then
echo "Missing mirror path"
exit 1
fi
- for fic in */{6,7,8,??}/*/mirror */{8,??}/*/*/mirror
+ for fic in */{6,7,8,??}/*/mirror */{?,??}/*/*/mirror
do
if grep -q "^http.*$2" $fic
then
@@ -64,7 +64,7 @@ del) if [ -z "$2" ]; then
echo "Missing mirror path"
exit 1
fi
- for fic in */{6,7,8,??}/*/mirror */{8,??}/*/*/mirror
+ for fic in */{6,7,8,??}/*/mirror */{?,??}/*/*/mirror
do
if grep -q "$2" $fic
then
@@ -78,12 +78,12 @@ status) if [ -z "$2" ]; then
echo "Missing mirror path"
exit 1
fi
- grep -- "$2" */{6,7,8,??}/*/mirror */{8,??}/*/*/mirror
+ grep -- "$2" */{6,7,8,??}/*/mirror */{?,??}/*/*/mirror
;;
https)
echo "Generating https mirror list"
- for i in enterprise/{5,6,7}/*/mirror fedora/2?/*/mirror */{8,??}/*/*/mirror
+ for i in enterprise/{6,7}/*/mirror */{?,??}/*/*/mirror
do
j=$(dirname $i)/httpsmirror
grep '^https' $i >$j