From c12e1ed0e54193a0b287a14544e65bd6d81702a3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 1 May 2004 12:17:45 +0000 Subject: fix drakupdate_fstab adding twice an entry in fstab, one with the old name, one with the devfs name --- perl-install/fsedit.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 87c50de6d..9f6874ce9 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -320,7 +320,8 @@ sub is_same_hd { my ($s2) = $hd2->{device} =~ m|https?://(.+?)/*$|; $s1 eq $s2; } else { - $hd1->{device} eq $hd2->{device}; + $hd1->{devfs_device} && $hd2->{devfs_device} && $hd1->{devfs_device} eq $hd2->{devfs_device} + || $hd1->{device} eq $hd2->{device}; } } -- cgit v1.2.1