diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-13 04:48:47 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-13 04:48:47 +0000 |
commit | df691ad0522e7851e689bd3287c6cf98960ec551 (patch) | |
tree | 28f0c17f37ddfae0aa0c1c301adcb3852c9a3591 /perl-install | |
parent | 9f3adf6c424e61cf33f373e46369b83143e75a78 (diff) | |
download | drakx-df691ad0522e7851e689bd3287c6cf98960ec551.tar drakx-df691ad0522e7851e689bd3287c6cf98960ec551.tar.gz drakx-df691ad0522e7851e689bd3287c6cf98960ec551.tar.bz2 drakx-df691ad0522e7851e689bd3287c6cf98960ec551.tar.xz drakx-df691ad0522e7851e689bd3287c6cf98960ec551.zip |
(device_name_to_entry) don't do brain twisted things
($e->{prefix} || $e->{device}) equals $prefix
$prefix . $nb equals $name
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |