diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2010-08-19 09:58:02 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2010-08-19 09:58:02 +0000 |
commit | 7e00dfda9d83233da812be9c669cb83c28466301 (patch) | |
tree | ae1ab696d7d77046e5eeaf7c67918faa7ec71534 | |
parent | 3b8189075640ca0fe8704fc2e36d8cecf1167817 (diff) | |
download | urpmi-7e00dfda9d83233da812be9c669cb83c28466301.tar urpmi-7e00dfda9d83233da812be9c669cb83c28466301.tar.gz urpmi-7e00dfda9d83233da812be9c669cb83c28466301.tar.bz2 urpmi-7e00dfda9d83233da812be9c669cb83c28466301.tar.xz urpmi-7e00dfda9d83233da812be9c669cb83c28466301.zip |
dudf: add missing calls to dudf_exittopic/rpm5
When there are deps issues (for example), ie an exit code 17 is
returned, dudf_exit wasn't called. Patch by Alexandre Lissy
-rwxr-xr-x | urpmi | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -510,6 +510,7 @@ that are older than the installed ones:\n%s", $list); print "$msg\n"; } else { my $noexpr = N("Nn"); + dudf_invoke($dudf, "dudf_exit", 17, $msg); $msg .= N("\nContinue installation anyway?"); $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 17; } @@ -525,6 +526,7 @@ if (@ask_unselect) { print "$msg\n"; } else { my $noexpr = N("Nn"); + dudf_invoke($dudf, "dudf_exit", 17, $msg); $msg .= N("\nContinue installation anyway?"); $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 17; } |