summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-16 19:49:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-16 19:49:17 +0000
commitf6eb0d8e0240ce36d5ba5db16722b7d663b22d6f (patch)
tree799942711371e43282083d663d8beb0756997a39 /perl-install/modules.pm
parent740ac6906f146eda0716d7b8ba6898d5f5cff5f5 (diff)
downloaddrakx-backup-do-not-use-f6eb0d8e0240ce36d5ba5db16722b7d663b22d6f.tar
drakx-backup-do-not-use-f6eb0d8e0240ce36d5ba5db16722b7d663b22d6f.tar.gz
drakx-backup-do-not-use-f6eb0d8e0240ce36d5ba5db16722b7d663b22d6f.tar.bz2
drakx-backup-do-not-use-f6eb0d8e0240ce36d5ba5db16722b7d663b22d6f.tar.xz
drakx-backup-do-not-use-f6eb0d8e0240ce36d5ba5db16722b7d663b22d6f.zip
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 28a5cd6b7..f68e8f726 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -487,7 +487,10 @@ sub read_conf($;$) {
}
sub write_conf {
- my ($file) = @_;
+ my ($prefix) = @_;
+ my $file = "$prefix/etc/modules.conf";
+
+ rename "$prefix/etc/conf.modules", $file; #- make the switch to new name if needed
#- remove the post-install supermount stuff. We may have to add some more
substInFile { $_ = '' if /^post-install supermount/ } $file;