From 3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 3 Jul 2014 11:45:21 +0100 Subject: fix not writing /etc/fstab test condition was wrongly inverted in commit 5eb630b080a5566359773bb38fd6e2f31e32459a --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 032f491c9..2d3ec1f9e 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -1576,7 +1576,7 @@ sub set_security { sub write_fstab { my ($o) = @_; - return if !$::local_install && (!$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names}); + return if $::local_install || $o->{isUpgrade} && $o->{isUpgrade} !~ /redhat|conectiva/ && !$o->{migrate_device_names}); fs::write_fstab($o->{all_hds}, $::prefix); } -- cgit v1.2.1