From 327a9065cb807ee50abf9725313b629581c73e79 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 27 Aug 2002 13:42:46 +0000 Subject: don't exit brutally when "some files are missing", will let the user do it herself --- rpmdrake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpmdrake b/rpmdrake index 0c2cacf6..bb19331b 100755 --- a/rpmdrake +++ b/rpmdrake @@ -709,9 +709,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( if (@rpms_install || @rpms_upgrade) { foreach (@rpms_install, @rpms_upgrade) { m|^/| && ! -e $_ or next; - fatal_msg(_("Installation failed"), - _("Installation failed, some files are missing.\nYou may want to update your sources database.")); - myexit -1; + interactive_msg(_("Installation failed"), + _("Installation failed, some files are missing.\nYou may want to update your sources database.")); + return; } %{$urpm->{state}{ask_remove}} and slow_func(_("Please wait, removing packages to allow others to be upgraded..."), sub { system('rpm', '-e', '--nodeps', keys %{$urpm->{state}{ask_remove}}) }); -- cgit v1.2.1