diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-01-17 15:37:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-01-17 15:37:57 +0000 |
commit | 355f4b948b9e942424bb7038e506bc3a8a61fc3e (patch) | |
tree | 5392f648d07538af17fb4b59ce2b5250c4b0d04c /perl-install/fs.pm | |
parent | 7c51f30621e904a6137a156f4e73a6209d648714 (diff) | |
download | drakx-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar drakx-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar.gz drakx-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar.bz2 drakx-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar.xz drakx-355f4b948b9e942424bb7038e506bc3a8a61fc3e.zip |
do not create /swap
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 9a12da97e..641d8bc9b 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -153,7 +153,7 @@ sub write_fstab { }; my $real_mntpoint = $_->{mntpoint} || ${{ '/tmp/hdimage' => '/mnt/hd' }}{$_->{real_mntpoint}}; - mkdir("$prefix/$real_mntpoint", 0755); + mkdir("$prefix$real_mntpoint", 0755) if $real_mntpoint =~ m|^/|; my $mntpoint = loopback::carryRootLoopback($_) ? '/initrd/loopfs' : $real_mntpoint; my ($freq, $passno) = |