summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-04 15:55:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-04 15:55:21 +0000
commit561b6b1eaf2cf64d7c33b69d57ae679a8cf874c3 (patch)
tree67bbec6f779928bcbc3075a99007a7a95fc8f7ed /urpm/main_loop.pm
parent44cd0817b8110e82a98db443a4319feffd0202ff (diff)
downloadurpmi-561b6b1eaf2cf64d7c33b69d57ae679a8cf874c3.tar
urpmi-561b6b1eaf2cf64d7c33b69d57ae679a8cf874c3.tar.gz
urpmi-561b6b1eaf2cf64d7c33b69d57ae679a8cf874c3.tar.bz2
urpmi-561b6b1eaf2cf64d7c33b69d57ae679a8cf874c3.tar.xz
urpmi-561b6b1eaf2cf64d7c33b69d57ae679a8cf874c3.zip
add new urpmi option, only for debugging purpose: --debug__do_not_install
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index c0d7e25c..f746f9b0 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -63,6 +63,8 @@ urpm::install::build_transaction_set_($urpm, $state,
split_level => $urpm->{options}{'split-level'},
split_length => !$test && $urpm->{options}{'split-length'});
+$options{debug__do_not_install} and exit 0;
+
my ($ok, $nok) = (0, 0);
my @errors;