summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-03 22:13:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-03 22:13:48 +0000
commit0841490e7df07a293a5a62970fe26f5b9b898d85 (patch)
tree0ba1141688d986f93384807be58e1ae0d83d234e /mdkupdate
parent1873239c193cb8e9de095db8e0a9627cff0cadee (diff)
downloadmgaonline-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-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 7c6e3af6..01576b99 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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";
}