summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-12 23:49:33 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-12 23:49:35 +0200
commit761ebdb96b630d30364c5bcb97eb76ea6a3e7d44 (patch)
tree3254167e8d7571200afa4f1f90b4658affadc99a /perl-install/fsedit.pm
parent19e69bc937f038b51775dafd373a0e14ca1b1b59 (diff)
downloaddrakx-761ebdb96b630d30364c5bcb97eb76ea6a3e7d44.tar
drakx-761ebdb96b630d30364c5bcb97eb76ea6a3e7d44.tar.gz
drakx-761ebdb96b630d30364c5bcb97eb76ea6a3e7d44.tar.bz2
drakx-761ebdb96b630d30364c5bcb97eb76ea6a3e7d44.tar.xz
drakx-761ebdb96b630d30364c5bcb97eb76ea6a3e7d44.zip
(init_efi_suggestions) add an optional force param
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 23d2ac809..14b15aaef 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -42,9 +42,9 @@ use fs;
);
sub init_efi_suggestions {
- my ($fstab) = @_;
+ my ($fstab, $o_force) = @_;
state $done;
- return if $done;
+ return if $done && !$o_force;
$done++;
# only suggests /boot/EFI if there's not already one: