summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-22 03:22:13 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-02 14:58:12 +0100
commit6c599d6e8303844cbb2a079f376f130c13b8d86b (patch)
tree3a294d33f62f2204a7d8b49b2fc78d1868c32e28 /perl-install
parent4d29e3c76f18c129167e597425037f41d8d5ffd8 (diff)
downloaddrakx-6c599d6e8303844cbb2a079f376f130c13b8d86b.tar
drakx-6c599d6e8303844cbb2a079f376f130c13b8d86b.tar.gz
drakx-6c599d6e8303844cbb2a079f376f130c13b8d86b.tar.bz2
drakx-6c599d6e8303844cbb2a079f376f130c13b8d86b.tar.xz
drakx-6c599d6e8303844cbb2a079f376f130c13b8d86b.zip
reindent after previous commit
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakboot30
1 files changed, 15 insertions, 15 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 1bb85fa1b..b136ccf61 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -36,19 +36,19 @@ my $all_hds;
my $fstab;
my $bootloader;
- $all_hds = fsedit::get_hds();
- fs::get_raw_hds('', $all_hds);
- fs::get_info_from_fstab($all_hds);
- $fstab = [ fs::get::fstab($all_hds) ];
- $bootloader = bootloader::read($all_hds);
- if (!$bootloader) {
- $in->ask_okcancel('', N("No bootloader found, creating a new configuration"), 0) or $in->exit;
- any::setupBootloaderBeforeStandalone($in->do_pkgs, $bootloader ||= {}, $all_hds, $fstab);
- }
+$all_hds = fsedit::get_hds();
+fs::get_raw_hds('', $all_hds);
+fs::get_info_from_fstab($all_hds);
+$fstab = [ fs::get::fstab($all_hds) ];
+$bootloader = bootloader::read($all_hds);
+if (!$bootloader) {
+ $in->ask_okcancel('', N("No bootloader found, creating a new configuration"), 0) or $in->exit;
+ any::setupBootloaderBeforeStandalone($in->do_pkgs, $bootloader ||= {}, $all_hds, $fstab);
+}
- $::isWizard = 1;
- require security::level;
- my $level = security::level::from_string(security::level::get());
- eval { any::setupBootloaderUntilInstalled($in, $bootloader, $all_hds, $fstab, $level) };
- die if $@ && $@ !~ /^wizcancel/;
- $in->exit(0);
+$::isWizard = 1;
+require security::level;
+my $level = security::level::from_string(security::level::get());
+eval { any::setupBootloaderUntilInstalled($in, $bootloader, $all_hds, $fstab, $level) };
+die if $@ && $@ !~ /^wizcancel/;
+$in->exit(0);