aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-05 15:53:56 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-05 18:35:25 +0100
commit674d1c5593bf6a2f036e4f32992f6c73bc0887a4 (patch)
treeb4c69866c0c09653652e549f154438956c81879f /URPM.pm
parent1095f57e60c767b72576079308e250b710a1368a (diff)
downloadperl-URPM-674d1c5593bf6a2f036e4f32992f6c73bc0887a4.tar
perl-URPM-674d1c5593bf6a2f036e4f32992f6c73bc0887a4.tar.gz
perl-URPM-674d1c5593bf6a2f036e4f32992f6c73bc0887a4.tar.bz2
perl-URPM-674d1c5593bf6a2f036e4f32992f6c73bc0887a4.tar.xz
perl-URPM-674d1c5593bf6a2f036e4f32992f6c73bc0887a4.zip
add support for reinstall (needs rpm >= 4.12.x)
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index aa2b5f0..7bf696c 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -837,6 +837,11 @@ Options are:
update => 0 / 1 : indicates whether this is an upgrade
excludepath => [ ... ]
+=item $trans->addReinstall($pkg)
+
+Adds a package to be re-installed to the transaction represented by $trans.
+$pkg is an C<URPM::Package> object.
+
=item $trans->remove($name)
Adds a package to be erased to the transaction represented by $trans.