diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-02 19:35:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-02 19:35:16 +0000 |
commit | b4e7c36715bfd985507f21ea7a0b776a56f02473 (patch) | |
tree | dc718e08ba729416600fd905315011c87eee26b0 /mdkupdate | |
parent | 26719f96ed82368718e99684c4e7121bc6a4fa9d (diff) | |
download | mgaonline-b4e7c36715bfd985507f21ea7a0b776a56f02473.tar mgaonline-b4e7c36715bfd985507f21ea7a0b776a56f02473.tar.gz mgaonline-b4e7c36715bfd985507f21ea7a0b776a56f02473.tar.bz2 mgaonline-b4e7c36715bfd985507f21ea7a0b776a56f02473.tar.xz mgaonline-b4e7c36715bfd985507f21ea7a0b776a56f02473.zip |
(add_media) fix running urpmi.addmedia when there's no options
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ sub add_media { my ($media_name, $mirror, $hdlist, $option) = @_; eval { system "/usr/sbin/urpmi.removemedia", $media_name; - system "/usr/sbin/urpmi.addmedia", $option, $media_name, $mirror, "with", $hdlist; + system "/usr/sbin/urpmi.addmedia", if_($option, $option), $media_name, $mirror, "with", $hdlist; }; $@ and die "Problem adding bundle media with urpmi"; } |