diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-03 22:13:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-03 22:13:48 +0000 |
commit | 0841490e7df07a293a5a62970fe26f5b9b898d85 (patch) | |
tree | 0ba1141688d986f93384807be58e1ae0d83d234e /mdkupdate | |
parent | 1873239c193cb8e9de095db8e0a9627cff0cadee (diff) | |
download | mgaonline-0841490e7df07a293a5a62970fe26f5b9b898d85.tar mgaonline-0841490e7df07a293a5a62970fe26f5b9b898d85.tar.gz mgaonline-0841490e7df07a293a5a62970fe26f5b9b898d85.tar.bz2 mgaonline-0841490e7df07a293a5a62970fe26f5b9b898d85.tar.xz mgaonline-0841490e7df07a293a5a62970fe26f5b9b898d85.zip |
(add_media) use gurpmi.addmedia instead of urpmi.addmedia in order to get a graphical progress bar
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ 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; + system "/usr/sbin/gurpmi.addmedia", '--silent-success', if_($option, $option), $media_name, $mirror, "with", $hdlist; }; $@ and die "Problem adding bundle media with urpmi"; } |