summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index eee09652..65e11e80 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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;