diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-03-05 15:48:37 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-03-05 18:41:31 +0100 |
commit | 454c11f17a6955ff6d8601880fc42fc498f7343b (patch) | |
tree | 63c71e89db353684fdc90aaa0882559cd11d3308 /urpmi | |
parent | bfc4d3f45be2e1857b712710dd8cb01a7cbfebb8 (diff) | |
download | urpmi-454c11f17a6955ff6d8601880fc42fc498f7343b.tar urpmi-454c11f17a6955ff6d8601880fc42fc498f7343b.tar.gz urpmi-454c11f17a6955ff6d8601880fc42fc498f7343b.tar.bz2 urpmi-454c11f17a6955ff6d8601880fc42fc498f7343b.tar.xz urpmi-454c11f17a6955ff6d8601880fc42fc498f7343b.zip |
add support for --reinstall
Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x)
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -583,7 +583,7 @@ if (@to_install && $options{auto_orphans}) { #- - this also takes care of removing packages from #- installed-through-deps if the package was first installed as a #- dep of another package, then removed and then explicitly installed -if (!$urpm->{options}{downgrade}) { +if (!$urpm->{options}{downgrade} && !$urpm->{options}{reinstall}) { urpm::orphans::mark_as_requested($urpm, $state, $test); } |