summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 6750e3e8a..75db21784 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -316,7 +316,7 @@ sub setupBootloader__general {
}
if ($prev_clean_tmp != $clean_tmp) {
- if ($clean_tmp) {
+ if ($clean_tmp && !fsedit::has_mntpoint('/tmp', $all_hds)) {
push @{$all_hds->{special}}, { device => 'none', mntpoint => '/tmp', type => 'tmpfs' };
} else {
@{$all_hds->{special}} = grep { $_->{mntpoint} eq '/tmp' } @{$all_hds->{special}};