summaryrefslogtreecommitdiffstats
path: root/mirror
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-07-25 10:24:38 +0200
committerRemi Collet <remi@php.net>2022-07-25 10:24:38 +0200
commitcfa737853b57fb0c64580da08e42bb633a3ddff5 (patch)
tree932545124f64d346ebd36c9663ee2b7447b040cb /mirror
parent10051994bada922d0b7c3e8da9fa10905fb97697 (diff)
addhttps://mirror.mangohost.net/remi
Diffstat (limited to 'mirror')
-rwxr-xr-xmirror1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirror b/mirror
index 3a9fd137..c29f6f89 100755
--- a/mirror
+++ b/mirror
@@ -21,6 +21,7 @@ add) if [ -z "$2" ]; then
if ! grep -q "^$2" $fic
then
grep remirepo.net $fic | \
+ sed -e "s|http://rpms.remirepo.net|$2|" | \
sed -e "s|https://rpms.remirepo.net|$2|" >>$fic
if grep $2 $fic
then