diff options
-rwxr-xr-x | edit-urpm-sources.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index c9d6ab55..a1540dde 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -136,6 +136,7 @@ really want to replace it?"), { yesno => 1 } ) or return 0; ? ($info->{login_entry}->get_text.':'.$info->{pass_entry}->get_text.'@') : '', $url; + $make_url{ftp} =~ s|^ftp://ftp://|ftp://|; if (member($name, map { $_->{name} } @{$urpm->{media}})) { standalone::explanations("Removing medium $name"); $urpm->select_media($name); |