summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-17 15:37:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-17 15:37:57 +0000
commit355f4b948b9e942424bb7038e506bc3a8a61fc3e (patch)
tree5392f648d07538af17fb4b59ce2b5250c4b0d04c
parent7c51f30621e904a6137a156f4e73a6209d648714 (diff)
downloaddrakx-backup-do-not-use-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar
drakx-backup-do-not-use-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar.gz
drakx-backup-do-not-use-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar.bz2
drakx-backup-do-not-use-355f4b948b9e942424bb7038e506bc3a8a61fc3e.tar.xz
drakx-backup-do-not-use-355f4b948b9e942424bb7038e506bc3a8a61fc3e.zip
do not create /swap
-rw-r--r--perl-install/fs.pm2
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) =