summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-07-03 11:45:21 +0100
committerColin Guthrie <colin@mageia.org>2014-07-03 11:45:21 +0100
commit3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85 (patch)
tree29ca503fccb95fb5fe6ee5084b561eb210a2a32a /perl-install/install
parent6ca51b44fcca0a58c05e45fad120aaed42697876 (diff)
downloaddrakx-3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85.tar
drakx-3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85.tar.gz
drakx-3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85.tar.bz2
drakx-3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85.tar.xz
drakx-3a6997fe9ba9f72c7ff9169e5161604b0b9b5f85.zip
fix not writing /etc/fstab
test condition was wrongly inverted in commit 5eb630b080a5566359773bb38fd6e2f31e32459a
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
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);
}