summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-11 14:34:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-11 14:34:50 +0000
commiteda4c0bf1822616878b3edb74deac8d1612ac3f5 (patch)
treebdd59d1324da75121b09af6b48bef5d814969851 /perl-install/install/any.pm
parente757acf3456457a66237d18a9f7a5c2752f03fb9 (diff)
downloaddrakx-eda4c0bf1822616878b3edb74deac8d1612ac3f5.tar
drakx-eda4c0bf1822616878b3edb74deac8d1612ac3f5.tar.gz
drakx-eda4c0bf1822616878b3edb74deac8d1612ac3f5.tar.bz2
drakx-eda4c0bf1822616878b3edb74deac8d1612ac3f5.tar.xz
drakx-eda4c0bf1822616878b3edb74deac8d1612ac3f5.zip
- do not rebuild rpmdb if it is ok
(will workaround #32547) (need perl-URPM 3.01)
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 7586932e2..6c9d60889 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -368,8 +368,8 @@ sub setPackages {
1 while $o->selectSupplMedia;
}
- #- open rpm db according to right mode needed (ie rebuilding database if upgrading)
- $o->{packages}{rpmdb} ||= install::pkgs::rpmDbOpen($o->{isUpgrade}, $o->{rpm_dbapi});
+ #- open rpm db according to right mode needed
+ $o->{packages}{rpmdb} ||= install::pkgs::rpmDbOpen('rebuild_if_needed', $o->{rpm_dbapi});
{
my $_wait = $o->wait_message('', N("Looking at packages already installed..."));