summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-12-04 16:06:29 +0000
committerFrancois Pons <fpons@mandriva.com>2001-12-04 16:06:29 +0000
commit3b292ff24ae5de8eae53d377c9839cd7daa21354 (patch)
tree8dd16b0c9ad4a3605c7c476cc57dd77b0eb8df31 /perl-install/install_any.pm
parent22c08cc2e8a847651165f64e2d881a7fe9fba9fe (diff)
downloaddrakx-backup-do-not-use-3b292ff24ae5de8eae53d377c9839cd7daa21354.tar
drakx-backup-do-not-use-3b292ff24ae5de8eae53d377c9839cd7daa21354.tar.gz
drakx-backup-do-not-use-3b292ff24ae5de8eae53d377c9839cd7daa21354.tar.bz2
drakx-backup-do-not-use-3b292ff24ae5de8eae53d377c9839cd7daa21354.tar.xz
drakx-backup-do-not-use-3b292ff24ae5de8eae53d377c9839cd7daa21354.zip
fix bad parsing of package to copy (when one doen't exist anymore) in
postinstall_rpms directory.
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 00bc741d2..93d70c3f8 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -183,7 +183,7 @@ sub setup_postinstall_rpms($$) {
}
@toCopy{@needToCopyIfRequiresSatisfied} = ();
- my @toCopy = map { pkgs::packageByName($packages, $_) } keys %toCopy;
+ my @toCopy = grep { $_ } map { pkgs::packageByName($packages, $_) } keys %toCopy;
#- extract headers of package, this is necessary for getting
#- the complete filename of each package.