From 8061a2db18a0162e9d70cb1448e28f367776fdf1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 19 Apr 2005 13:10:25 +0000 Subject: mandriva switch --- rescue/install_bootloader | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'rescue/install_bootloader') diff --git a/rescue/install_bootloader b/rescue/install_bootloader index d49a04581..10812d41f 100755 --- a/rescue/install_bootloader +++ b/rescue/install_bootloader @@ -1,8 +1,8 @@ #!/usr/bin/perl # -# Guillaume Cottenceau (gc@mandrakesoft.com) +# Guillaume Cottenceau # -# Copyright 2001 Mandrakesoft +# Copyright 2001-2005 Mandriva # # This software may be freely redistributed under the terms of the GNU # public license. @@ -26,7 +26,7 @@ grep { (split)[1] =~ m|^/mnt$| } @mounts or die "Your root device isn't mounted my ($f) = grep { -f $_ } map { "/mnt/etc/$_" } 'mandrakelinux-release', 'mandrake-release'; $f && cat_($f) =~ /Mandrake/ or die "$f doesn't contain 'Mandrake', exiting.\n"; -print "About to re-install Boot Loader of following Mandrake distro:\n\t", +print "About to re-install Boot Loader of following Mandriva Linux distribution:\n\t", chomp_(cat_ "/mnt/etc/mandrake-release"), "\n=> ok? "; =~ /^n/i and exit 0; @@ -38,6 +38,9 @@ die "error: couldn't exec /mnt/sbin/lilo.\n"; #------------------------------------------------- #- $Log$ +#- Revision 1.4 2005/04/19 13:10:25 prigaux +#- mandriva switch +#- #- Revision 1.3 2004/09/28 06:24:30 prigaux #- handle /etc/mandrakelinux-release #- -- cgit v1.2.1