summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-03 20:02:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-03 20:02:09 +0000
commit5032fe5d15899743af248158312f5092388835b5 (patch)
treec521849aae08bea624e99625d48cf9073abb230c
parent5bb7b3fbb8b930af50fc2945367ef7c79715e186 (diff)
downloadmgaonline-5032fe5d15899743af248158312f5092388835b5.tar
mgaonline-5032fe5d15899743af248158312f5092388835b5.tar.gz
mgaonline-5032fe5d15899743af248158312f5092388835b5.tar.bz2
mgaonline-5032fe5d15899743af248158312f5092388835b5.tar.xz
mgaonline-5032fe5d15899743af248158312f5092388835b5.zip
if the bundle is invalid, warn the user about it
-rwxr-xr-xmdkupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkupdate b/mdkupdate
index beb14ca1..671cfed9 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -156,6 +156,8 @@ You need to update to a newer version. You can get a new one from http://start.m
$bundle =~ s/\.rpm$//;
push @bundles, $bundle;
install_pkgs($in, \@bundles, (find { /^bundle/ } keys %mirrors), { is_bundle => 1 });
+ } else {
+ $in->ask_warn(N("Error"), N("An error occurred") . "\n\n" . $bundle_info->{message});
}
}