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 | |
parent | 3837223751e5455a5e5a397cdfe51285a2bbc2d1 (diff) | |
download | drakx-backup-do-not-use-e59127ebedccea2fc7edb3991f7954eae882272e.tar drakx-backup-do-not-use-e59127ebedccea2fc7edb3991f7954eae882272e.tar.gz drakx-backup-do-not-use-e59127ebedccea2fc7edb3991f7954eae882272e.tar.bz2 drakx-backup-do-not-use-e59127ebedccea2fc7edb3991f7954eae882272e.tar.xz drakx-backup-do-not-use-e59127ebedccea2fc7edb3991f7954eae882272e.zip |
add remove_modules
Diffstat (limited to 'perl-install')
-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; |