diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-22 03:23:11 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-02 14:58:12 +0100 |
commit | 059b63602f3fabb23b15ef48bd617e0d323b5ba4 (patch) | |
tree | 9389f34a04a6f275a0b68dcff9f91b72da17b1e4 /perl-install/standalone/drakboot | |
parent | 6c599d6e8303844cbb2a079f376f130c13b8d86b (diff) | |
download | drakx-059b63602f3fabb23b15ef48bd617e0d323b5ba4.tar drakx-059b63602f3fabb23b15ef48bd617e0d323b5ba4.tar.gz drakx-059b63602f3fabb23b15ef48bd617e0d323b5ba4.tar.bz2 drakx-059b63602f3fabb23b15ef48bd617e0d323b5ba4.tar.xz drakx-059b63602f3fabb23b15ef48bd617e0d323b5ba4.zip |
further simplify
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-x | perl-install/standalone/drakboot | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index b136ccf61..b4fa43a98 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -32,15 +32,11 @@ use fs; my $in = 'interactive'->vnew('su'); -my $all_hds; -my $fstab; -my $bootloader; - -$all_hds = fsedit::get_hds(); +my $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); +my $fstab = [ fs::get::fstab($all_hds) ]; +my $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); |