summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-04 15:07:25 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-04 15:07:25 +0000
commitaa4ba035379e40d853bbd1e6ca67a7d212b4fbcd (patch)
tree1a4a33f24cee805b24f06b9128262cca352a44f7
parent13196795a291f432a633db71b3dd042910c8b8a3 (diff)
downloaddrakx-backup-do-not-use-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar
drakx-backup-do-not-use-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar.gz
drakx-backup-do-not-use-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar.bz2
drakx-backup-do-not-use-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar.xz
drakx-backup-do-not-use-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.zip
do not vivify moddeps (fix installed modules detection, #34478)
-rw-r--r--kernel/list_modules.pm2
-rw-r--r--perl-install/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index b5359c6f6..7a84cd7ad 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -303,7 +303,7 @@ sub load_dependencies {
}
sub dependencies_closure {
- my @l = map { dependencies_closure($_) } @{$moddeps{$_[0]}{deps} || []};
+ my @l = map { dependencies_closure($_) } @{exists $moddeps{$_[0]} && $moddeps{$_[0]}{deps} || []};
(@l, $_[0]);
}
diff --git a/perl-install/NEWS b/perl-install/NEWS
index df48d00e4..84540e02d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- fix installed modules detection (#34478)
+
Version 10.4.235 - 4 October 2007, by Thierry Vignaud
- diskdrake --fileshare