summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 73db24299..d1f82a1dd 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -7,7 +7,7 @@ use vars qw(%vga_modes);
#-######################################################################################
#- misc imports
#-######################################################################################
-use common qw(:common :file :functional :system);
+use common;
use partition_table qw(:types);
use log;
use any;
@@ -377,11 +377,11 @@ wait %d seconds for default boot.
}
}
my %l = (
- yaboot => bool(arch() =~ /ppc/),
- silo => bool(arch() =~ /sparc/),
- lilo => bool(arch() !~ /sparc|ppc/) && !isLoopback(fsedit::get_root($fstab)),
- grub => bool(arch() !~ /sparc|ppc/ && availableRamMB() < 800), #- don't use grub if more than 800MB
- loadlin => bool(arch() !~ /sparc|ppc/) && -e "/initrd/loopfs/lnx4win",
+ yaboot => to_bool(arch() =~ /ppc/),
+ silo => to_bool(arch() =~ /sparc/),
+ lilo => to_bool(arch() !~ /sparc|ppc/) && !isLoopback(fsedit::get_root($fstab)),
+ grub => to_bool(arch() !~ /sparc|ppc/ && availableRamMB() < 800), #- don't use grub if more than 800MB
+ loadlin => to_bool(arch() !~ /sparc|ppc/) && -e "/initrd/loopfs/lnx4win",
);
unless ($lilo->{methods}) {
$lilo->{methods} ||= { map { $_ => 1 } grep { $l{$_} } keys %l };
@@ -417,7 +417,7 @@ sub keytable($$) {
$f && -r "$prefix/$f" && $f;
}
-sub has_profiles { bool(get_label("office", $b)) }
+sub has_profiles { to_bool(get_label("office", $b)) }
sub set_profiles {
my ($b, $want_profiles) = @_;
-07-23 20:25:15 +0000'>2003-07-231-0/+18251 * updated pot filePablo Saratxaga2003-07-211-51/+117 * updated pot filePablo Saratxaga2003-07-141-138/+418 * changed "Country" . " / Region" to "Country / Region" and fixed Chinese po'sPablo Saratxaga2003-07-121-12/+7 * updated pot filePablo Saratxaga2003-07-101-95/+129 * updated pot filePablo Saratxaga2003-07-092-10998/+11474 * Moved Bokmaal file to nb.poPablo Saratxaga2003-06-281-21449/+0 * Fixed typos; updated Ukrainian po filePablo Saratxaga2003-06-272-33/+33 * updated pot filePablo Saratxaga2003-06-272-498/+721 * updated pot filePablo Saratxaga2003-06-162-458/+572 * change a bit how strings are passed to advertising systemGuillaume Cottenceau2003-06-123-1137/+1545 * updated Estonien, Japanese, Albanian and Vietnamese po filesPablo Saratxaga2003-06-033-3301/+3539 * UpdateArkadiusz Lipiec2003-06-021-195/+308 * updated Spanish translationsFabián Mandelbaum2003-06-021-154/+271 * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-3147-6454/+11245 * updated Vietnamese filePablo Saratxaga2003-05-302-67/+68 * updated Albanian filePablo Saratxaga2003-05-281-5/+46 * updated pot filePablo Saratxaga2003-05-261-3/+43 * updated pot filePablo Saratxaga2003-05-222-75/+134 * updated pot filePablo Saratxaga2003-05-202-98/+147 * updated German, Estonian and Finnish filesPablo Saratxaga2003-05-203-1420/+1964 * update french translationThierry Vignaud2003-05-201-67/+54 * updated Spanish translationsFabián Mandelbaum2003-05-191-221/+176 * updated pot filePablo Saratxaga2003-05-16