/[gentoo-x86]/sys-boot/grub/grub-9999.ebuild
Gentoo

Diff of /sys-boot/grub/grub-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.21 2010/07/06 00:33:33 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.22 2010/07/06 00:41:18 vapier Exp $
4 4
5# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch 5# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch
6 6
7inherit mount-boot eutils flag-o-matic toolchain-funcs 7inherit mount-boot eutils flag-o-matic toolchain-funcs
8 8
79 GRUB_DISTRIBUTOR="Gentoo" 79 GRUB_DISTRIBUTOR="Gentoo"
80 EOF 80 EOF
81 if use multislot ; then 81 if use multislot ; then
82 sed -i "s:grub-install:grub2-install:" "${D}"/sbin/grub-install || die 82 sed -i "s:grub-install:grub2-install:" "${D}"/sbin/grub-install || die
83 mv "${D}"/sbin/grub{,2}-install || die 83 mv "${D}"/sbin/grub{,2}-install || die
84 mv "${D}"/sbin/grub{,2}-set-default || die
85 mv "${D}"/usr/share/man/man8/grub{,2}-install.8 || die
84 mv "${D}"/usr/share/info/grub{,2}.info || die 86 mv "${D}"/usr/share/info/grub{,2}.info || die
85 fi 87 fi
86} 88}
87 89
88setup_boot_dir() { 90setup_boot_dir() {

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20