diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-27 20:49:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-27 20:49:33 +0000 |
commit | 5e8cc5185a12d7d46034c10b214a97b5b9b96eee (patch) | |
tree | 63c3175b3585803c36448cdc4f8f5b0ff2835a59 /urpm.pm | |
parent | 7ab7fd6abde2b107c3235d9054a0e5c6ceffc922 (diff) | |
download | urpmi-5e8cc5185a12d7d46034c10b214a97b5b9b96eee.tar urpmi-5e8cc5185a12d7d46034c10b214a97b5b9b96eee.tar.gz urpmi-5e8cc5185a12d7d46034c10b214a97b5b9b96eee.tar.bz2 urpmi-5e8cc5185a12d7d46034c10b214a97b5b9b96eee.tar.xz urpmi-5e8cc5185a12d7d46034c10b214a97b5b9b96eee.zip |
fix urpmi failing silently and with exit status 0 when package
installation fails due to either conflicts (mdv#63072) or to
unselecting package (inspirated by mdv, mdv#63940)
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,10 @@ our $VERSION = '6.44'; our @ISA = qw(URPM Exporter); our @EXPORT_OK = ('file_from_local_url', 'file_from_local_medium', 'is_local_medium'); +# Prepare exit code. If you change this, the exiting with a failure and the message given will be postponed to the end of the overall processing. +our $postponed_msg = N("While some packages may have been installed, there were failures.\n"); +our $postponed_code = 0; + use URPM; use URPM::Resolve; |