diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-04 15:07:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-04 15:07:25 +0000 |
commit | aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd (patch) | |
tree | 1a4a33f24cee805b24f06b9128262cca352a44f7 /kernel | |
parent | 13196795a291f432a633db71b3dd042910c8b8a3 (diff) | |
download | drakx-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar drakx-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar.gz drakx-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar.bz2 drakx-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.tar.xz drakx-aa4ba035379e40d853bbd1e6ca67a7d212b4fbcd.zip |
do not vivify moddeps (fix installed modules detection, #34478)
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/list_modules.pm | 2 |
1 files changed, 1 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]); } |