diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-02-28 12:15:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-02-28 12:15:06 +0000 |
commit | cf08b05768d9a8a6f857bb5fc948e0df7a492fe8 (patch) | |
tree | ffbb0c8705302da35d71362ff6b018e8a44bbed5 | |
parent | 94d178820b6b05413355a648fff4256a56a3ace2 (diff) | |
download | rpmdrake-cf08b05768d9a8a6f857bb5fc948e0df7a492fe8.tar rpmdrake-cf08b05768d9a8a6f857bb5fc948e0df7a492fe8.tar.gz rpmdrake-cf08b05768d9a8a6f857bb5fc948e0df7a492fe8.tar.bz2 rpmdrake-cf08b05768d9a8a6f857bb5fc948e0df7a492fe8.tar.xz rpmdrake-cf08b05768d9a8a6f857bb5fc948e0df7a492fe8.zip |
do not silently exit if $fromfile is not set
-rwxr-xr-x | gurpmi.addmedia | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia index ecedf817..a499fff9 100755 --- a/gurpmi.addmedia +++ b/gurpmi.addmedia @@ -71,14 +71,14 @@ if ($url !~ m,^(file://|ftp://|http://|removable://), || $with && !$with_hdlist) myexit(-1); } -$fromfile and interactive_msg('gurpmi.addmedia', +$fromfile and do { interactive_msg('gurpmi.addmedia', N("%s Is it ok to continue?", N("You are about to add a new packages medium, `%s'. That means you will be able to add new software packages to your system from that new medium.", $name)), - yesno => 1) or myexit(-1); + yesno => 1) or myexit(-1) }; my $urpm = urpm->new; $urpm->read_config; |