summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 91a8ac894..a7268817d 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -422,7 +422,7 @@ sub askSupplMirror {
return $o->ask_from_entry('', $message) || '';
}
my $url = "ftp://$u->{mirror}$crypto::mirrors{$u->{mirror}}[1]";
- $url =~ s/\bmedia\/?$//;
+ $url =~ s!\bmedia/?$!!;
log::l("mirror chosen [$url]");
return $url;
}