diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-10-29 18:36:18 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-05 16:27:49 +0100 |
commit | ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1 (patch) | |
tree | d555f1733c3063de4b8cd2bb0d716388a5cbe065 /urpm | |
parent | 9bdfcaa080ef291e5adf7c7156df10f3e9ce746c (diff) | |
download | urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar.gz urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar.bz2 urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar.xz urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.zip |
add support for --deploops option
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rw-r--r-- | urpm/install.pm | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index 86906669..1f43cb49 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -167,6 +167,7 @@ my %options_spec = ( 'norebuild!' => sub { $urpm->{options}{'build-hdlist-on-error'} = !$_[1] }, 'test!' => \$::test, 'debug__do_not_install' => \$options{debug__do_not_install}, + deploops => \$options{deploops}, 'skip=s' => \$options{skip}, 'prefer=s' => \$options{prefer}, 'root=s' => sub { set_root($urpm, $_[1]) }, diff --git a/urpm/install.pm b/urpm/install.pm index de52dca1..8ede436b 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -353,7 +353,7 @@ sub install { my ($produced_deltas, @trans_pkgs) = _schedule_packages($urpm, $trans, $install, $upgrade, %options); if (!$options{nodeps} && (@errors = $trans->check(%options))) { - } elsif (!$options{noorder} && (@errors = $trans->order)) { + } elsif (!$options{noorder} && (@errors = $trans->order(%options))) { } else { $urpm->{readmes} = {}; diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 9695b9db..a010bc76 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -211,6 +211,7 @@ sub _init_common_options { ( urpm::install::options($urpm), test => $test, + deploops => $options{deploops}, verbose => $options{verbose}, script_fd => $urpm->{options}{script_fd}, oldpackage => $state->{oldpackage}, |