diff options
-rwxr-xr-x | mdkupdate | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -268,7 +268,8 @@ sub add_media { my ($media_name, $mirror, $hdlist, $option) = @_; eval { system "/usr/sbin/urpmi.removemedia", $media_name; - system "/usr/sbin/urpmi.addmedia", if_($option, $option), $media_name, $mirror, "with", $hdlist; + # use wget because curl doesn't handle nicely passwords (at least the way it's called from urpmi); + system "/usr/sbin/urpmi.addmedia", if_($option, $option), '--wget', $media_name, $mirror, "with", $hdlist; }; $@ and die "Problem adding bundle media with urpmi"; } |