diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-21 21:25:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-21 21:25:46 +0000 |
commit | 7bde69c12ac9d356b051d0a63ef650092860a3d8 (patch) | |
tree | 473d5248d6dd480ac3991bd4a0e021be0dee14f8 /perl-install/install_any.pm | |
parent | fc1ca5e597fde6ae0f12ffe0eb6af3a4277075ee (diff) | |
download | drakx-backup-do-not-use-7bde69c12ac9d356b051d0a63ef650092860a3d8.tar drakx-backup-do-not-use-7bde69c12ac9d356b051d0a63ef650092860a3d8.tar.gz drakx-backup-do-not-use-7bde69c12ac9d356b051d0a63ef650092860a3d8.tar.bz2 drakx-backup-do-not-use-7bde69c12ac9d356b051d0a63ef650092860a3d8.tar.xz drakx-backup-do-not-use-7bde69c12ac9d356b051d0a63ef650092860a3d8.zip |
workaround "traverse_tag" pb in Resolve.pm resolve_requested (is it ok??)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 50bb10e62..4b701f5a8 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -160,10 +160,12 @@ sub setup_postinstall_rpms($$) { my %toCopy; #- compute closure of package that may be copied, use INSTALL category #- in rpmsrate. + $packages->{rpmdb} ||= pkgs::rpmDbOpen($prefix); foreach (@{$packages->{needToCopy} || []}) { my $p = pkgs::packageByName($packages, $_) or next; pkgs::selectPackage($packages, $p, 0, \%toCopy); } + delete $packages->{rpmdb}; my @toCopy = grep { $_ && !$_->flag_selected } map { $packages->{depslist}[$_] } keys %toCopy; |