summaryrefslogtreecommitdiffstats
path: root/rescue/install_bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/install_bootloader')
-rwxr-xr-xrescue/install_bootloader4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/install_bootloader b/rescue/install_bootloader
index e8bc04ad8..fa7b92543 100755
--- a/rescue/install_bootloader
+++ b/rescue/install_bootloader
@@ -30,7 +30,7 @@ my $release = common::mandrake_release($::prefix) ||
};
if ($release) {
- $release =~ /Mandrake|Mandriva/ or die "release file doesn't contain 'Mandriva', exiting.\n";
+ $release =~ /Mageia|Mandriva/ or die "release file doesn't contain '%s', exiting.\n";
} elsif (fs::get::mntpoint2part($::prefix, [ fs::read_fstab('', '/proc/mounts') ])) {
die "unknown distribution mounted in $::prefix\n";
} else {
@@ -59,7 +59,7 @@ if (@main_methods == 0) {
my $install = $bootloader::{'install_raw_' . $main_method} or die "unknown bootloader method install_raw_$main_method\n";
-print "About to re-install Boot Loader $main_method of following Mandriva Linux distribution:\n\t",
+print "About to re-install Boot Loader $main_method of following %s distribution:\n\t",
$release, "\n";
if (!$auto) {
print "=> ok? <press Enter to continue, 'n' and Enter to cancel> ";