summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-29 12:35:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-29 12:35:03 +0000
commit3109582da9906a089f97f4d86f97e5a6ad737f6b (patch)
treebd6b6d9931808cc65ce023dcc3f9c09d088039de /perl-install/install_any.pm
parentd7f73f3d388c37c283a0abf93283f2bc0b3c7466 (diff)
downloaddrakx-3109582da9906a089f97f4d86f97e5a6ad737f6b.tar
drakx-3109582da9906a089f97f4d86f97e5a6ad737f6b.tar.gz
drakx-3109582da9906a089f97f4d86f97e5a6ad737f6b.tar.bz2
drakx-3109582da9906a089f97f4d86f97e5a6ad737f6b.tar.xz
drakx-3109582da9906a089f97f4d86f97e5a6ad737f6b.zip
try to better handle symlinks device and devfs devices
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index d7c05363d..7013d4278 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -574,7 +574,7 @@ sub kdeicons_postinstall {
'floppy-ls' => [ 'floppy', 'LS-120' ],
'floppy' => [ 'floppy', 'Floppy' ],
);
- foreach (fs::read_fstab("$prefix/etc/fstab")) {
+ foreach (fs::read_fstab($prefix, "/etc/fstab")) {
my ($name_, $nb) = $_->{mntpoint} =~ m|.*/(\S+?)(\d*)$/|;
my ($name, $text) = @{$l{$name_} || []};