diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-07 14:22:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-07 14:22:41 +0000 |
commit | 2e14cfa10e0a800d99e66c7264a75791f62e00e5 (patch) | |
tree | 8bde73fcd74bfe857c15cef863d71a8647b190f0 /perl-install | |
parent | 2c668261d41bd68061d2a52844a0fb15c548abd4 (diff) | |
download | drakx-backup-do-not-use-2e14cfa10e0a800d99e66c7264a75791f62e00e5.tar drakx-backup-do-not-use-2e14cfa10e0a800d99e66c7264a75791f62e00e5.tar.gz drakx-backup-do-not-use-2e14cfa10e0a800d99e66c7264a75791f62e00e5.tar.bz2 drakx-backup-do-not-use-2e14cfa10e0a800d99e66c7264a75791f62e00e5.tar.xz drakx-backup-do-not-use-2e14cfa10e0a800d99e66c7264a75791f62e00e5.zip |
(remove_module) prevent wiping /etc/modprobe.preload if module is
unset (#16181)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/modules/any_conf.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules/any_conf.pm b/perl-install/modules/any_conf.pm index 7c2bcc0a8..e3bbb318c 100644 --- a/perl-install/modules/any_conf.pm +++ b/perl-install/modules/any_conf.pm @@ -103,6 +103,7 @@ sub remove_alias_regexp_byname { sub remove_module { my ($conf, $module) = @_; + return if !$module; $module = $conf->mapping($module); substInFile { undef $_ if /^$module/; |