diff options
Diffstat (limited to 'mirror')
-rwxr-xr-x | mirror | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,7 +11,7 @@ add) if [ -z "$2" ]; then echo "Missing mirror path" exit 1 fi - for fic in */{8,9,39,40,41}/*/*/mirror + for fic in */{8,9,10,39,40,41}/*/*/mirror do n=0 if grep -q "/archives/" $fic @@ -37,7 +37,7 @@ on) if [ -z "$2" ]; then echo "Missing mirror path" exit 1 fi - for fic in */?/*/mirror */{?,??}/*/*/mirror + for fic in */{?,??}/*/*/mirror do if grep -q "^## .*$2" $fic then @@ -51,7 +51,7 @@ off) if [ -z "$2" ]; then echo "Missing mirror path" exit 1 fi - for fic in */?/*/mirror */{?,??}/*/*/mirror + for fic in */{?,??}/*/*/mirror do if grep -q "^http.*$2" $fic then @@ -84,7 +84,7 @@ status) if [ -z "$2" ]; then https) echo "Generating https mirror list" - for i in enterprise/?/*/mirror */{?,??}/*/*/mirror + for i in */{?,??}/*/*/mirror do j=$(dirname $i)/httpsmirror grep '^https' $i >$j |