summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-19 17:59:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-19 17:59:52 +0000
commite59127ebedccea2fc7edb3991f7954eae882272e (patch)
treefc1fc279805c99b6d8bbdb5ee3a4eca5a7afb81e /perl-install/modules.pm
parent3837223751e5455a5e5a397cdfe51285a2bbc2d1 (diff)
downloaddrakx-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/modules.pm')
-rw-r--r--perl-install/modules.pm7
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;