aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-22 15:17:18 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-22 15:17:18 +0000
commit6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd (patch)
treeec46949c966131f8c8236d114592b11abbd3d43c
parent918a75aacfca787c9cf4de89a954a96eb673d0aa (diff)
downloadrpmdrake-6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd.tar
rpmdrake-6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd.tar.gz
rpmdrake-6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd.tar.bz2
rpmdrake-6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd.tar.xz
rpmdrake-6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd.zip
when user cancels the choose of mirror in MandrakeUpdate, explain
that she can selects a manual mirror from the sources manager
-rwxr-xr-xrpmdrake7
1 files changed, 6 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 28a2310f..03cac61b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -615,7 +615,12 @@ Is it ok to continue?"), { yesno => 1 }) or myexit -1;
undef $urpm;
mu_retry_another_mirror:
my $m = choose_mirror;
- $m or myexit -1;
+ $m or interactive_msg(_("How to choose manually your mirror"),
+_("You may also choose your desired mirror manually: to do so,
+launch the Software Sources Manager, and then add a `Security
+updates' source (keep the default name of the source - `%s').
+
+Then, restart MandrakeUpdate.", $update_name)), myexit -1;
my ($r) = cat_('/etc/mandrake-release') =~ /release\s(\S+)/;
my $w = wait_msg(_("Please wait, contacting mirror to initialize updates packages."));
my $retval = system("/usr/sbin/urpmi.addmedia --update $update_name $m/$r/RPMS/ with ../base/hdlist.cz");