From df691ad0522e7851e689bd3287c6cf98960ec551 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 13 Aug 2004 04:48:47 +0000 Subject: (device_name_to_entry) don't do brain twisted things ($e->{prefix} || $e->{device}) equals $prefix $prefix . $nb equals $name --- perl-install/standalone/drakupdate_fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 8347bd68e..01c21e758 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -73,7 +73,7 @@ sub device_name_to_entry { unless ($e = find { $name eq $_->{device} } @l) { my ($prefix, $nb) = $name =~ m/^(.*?)(\d*)$/; $e = find { $prefix eq ($_->{prefix} || $_->{device}) } @l; - $e->{device} = ($e->{prefix} || $e->{device}) . $nb; + $e->{device} = $name; } } -- cgit v1.2.1