summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-03 08:59:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-03 08:59:46 +0000
commit5234de9b98ef147c8533b2829cb5083c45e46b46 (patch)
treeb48cbfceece95043815ab652d0307528fbdaf783 /urpm/main_loop.pm
parent1be3440bc78cb655eeb7b4efabb0f8a23734e2ea (diff)
downloadurpmi-5234de9b98ef147c8533b2829cb5083c45e46b46.tar
urpmi-5234de9b98ef147c8533b2829cb5083c45e46b46.tar.gz
urpmi-5234de9b98ef147c8533b2829cb5083c45e46b46.tar.bz2
urpmi-5234de9b98ef147c8533b2829cb5083c45e46b46.tar.xz
urpmi-5234de9b98ef147c8533b2829cb5083c45e46b46.zip
factorize options handling
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index f3e41411..5d7074e2 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -198,18 +198,12 @@ foreach my $set (@{$state->{transaction} || []}) {
bug_log(scalar localtime(), " ", join(' ', values %transaction_sources_install, values %transaction_sources), "\n");
$urpm->{log}("starting installing packages");
my %install_options_common = (
+ urpm::install::options($urpm),
test => $test,
verbose => $options{verbose},
- excludepath => $urpm->{options}{excludepath},
- excludedocs => $urpm->{options}{excludedocs},
- repackage => $urpm->{options}{repackage},
- post_clean_cache => $urpm->{options}{'post-clean'},
oldpackage => $state->{oldpackage},
justdb => $options{justdb},
replacepkgs => $options{replacepkgs},
- nosize => $urpm->{options}{ignoresize},
- ignorearch => $urpm->{options}{ignorearch},
- noscripts => $urpm->{options}{noscripts},
callback_inst => $callbacks->{inst},
callback_trans => $callbacks->{trans},
callback_report_uninst => $callbacks->{callback_report_uninst},