diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-27 13:42:46 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-27 13:42:46 +0000 |
commit | 327a9065cb807ee50abf9725313b629581c73e79 (patch) | |
tree | 8c1b881e35091293a9fdc10128a3094cf7f5602c | |
parent | 551f41e185accdd789c3778dd20e9594553f6cef (diff) | |
download | rpmdrake-327a9065cb807ee50abf9725313b629581c73e79.tar rpmdrake-327a9065cb807ee50abf9725313b629581c73e79.tar.gz rpmdrake-327a9065cb807ee50abf9725313b629581c73e79.tar.bz2 rpmdrake-327a9065cb807ee50abf9725313b629581c73e79.tar.xz rpmdrake-327a9065cb807ee50abf9725313b629581c73e79.zip |
don't exit brutally when "some files are missing", will let
the user do it herself
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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}}) }); |