summaryrefslogtreecommitdiffstats
path: root/mirror
diff options
context:
space:
mode:
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