diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-11 12:46:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-11 12:46:03 +0000 |
commit | d2736a81e1df5c19bdbc6e62b028e2f18a130480 (patch) | |
tree | c9d871f56f75d39bbc5f128abecf3950f76d09c5 /urpm | |
parent | 25428f578665a94d873ea496da130059fee47fef (diff) | |
download | urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar.gz urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar.bz2 urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar.xz urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.zip |
- urpmi
o new option --replacepkgs (same as rpm --replacepkgs) (#16112)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rwxr-xr-x | urpm/main_loop.pm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index b5694863..e580257b 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -95,6 +95,7 @@ my %options_spec = ( $urpm->{options}{'priority-upgrade'} = ''; }, force => \$::force, + replacepkgs => \$options{replacepkgs}, 'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 }, 'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 }, 'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 }, diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 5952466a..d631347e 100755 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -161,6 +161,7 @@ foreach my $set (@{$state->{transaction} || []}) { repackage => $urpm->{options}{repackage}, post_clean_cache => $urpm->{options}{'post-clean'}, oldpackage => $state->{oldpackage}, + replacepkgs => $options{replacepkgs}, nosize => $urpm->{options}{ignoresize}, ignorearch => $urpm->{options}{ignorearch}, noscripts => $urpm->{options}{noscripts}, |