diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-19 17:59:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-19 17:59:52 +0000 |
commit | e59127ebedccea2fc7edb3991f7954eae882272e (patch) | |
tree | fc1fc279805c99b6d8bbdb5ee3a4eca5a7afb81e /perl-install/modules.pm | |
parent | 3837223751e5455a5e5a397cdfe51285a2bbc2d1 (diff) | |
download | drakx-e59127ebedccea2fc7edb3991f7954eae882272e.tar drakx-e59127ebedccea2fc7edb3991f7954eae882272e.tar.gz drakx-e59127ebedccea2fc7edb3991f7954eae882272e.tar.bz2 drakx-e59127ebedccea2fc7edb3991f7954eae882272e.tar.xz drakx-e59127ebedccea2fc7edb3991f7954eae882272e.zip |
add remove_modules
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index e143ee5e1..e131a4c48 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -172,6 +172,13 @@ sub remove_alias($) { 0; } +sub remove_module($) { + my ($name) = @_; + remove_alias($name); + delete $conf{$name}; + 0; +} + sub read_conf { my ($file) = @_; my %c; |