summaryrefslogtreecommitdiffstats
path: root/urpme
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 /urpme
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 'urpme')
-rw-r--r--urpme3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpme b/urpme
index b50d418e..ff869100 100644
--- a/urpme
+++ b/urpme
@@ -140,8 +140,7 @@ print N("removing %s", join(' ', sort @toremove)) . "\n";
my %remove_options = (
test => $test,
force => $force,
- noscripts => $urpm->{options}{noscripts},
- repackage => $urpm->{options}{repackage},
+ urpm::install::options($urpm),
);
my @errors = $parallel
? urpm::parallel::remove($urpm, \@toremove, %remove_options)