View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/sys-boot/grub/grub-0.97-r3.ebuild (-1 / +11 lines)
 Lines 129-135    Link Here 
		ln -snf grub.conf "${dir}"/grub/menu.lst
		ln -snf grub.conf "${dir}"/grub/menu.lst
	fi
	fi
	[[ -e ${dir}/grub/stage2 ]] && mv "${dir}"/grub/stage2{,.old}
	if [[ -e ${dir}/grub/stage2 ]]; then
		mv "${dir}"/grub/stage2 $(mktemp \
			"${dir}"/grub/stage2-$(date --rfc-3339=date).XXXXXX)
		ewarn
		ewarn "*** IMPORTANT NOTE: you will need to run grub to install"
		ewarn " the new version's stage1 to your MBR.  Until you do,"
		ewarn " stage1 and stage2 will still be the old version, but"
		ewarn " later stages will be the new version, which could"
		ewarn " cause problems."
		ewarn
	fi
	einfo "Copying files from /lib/grub and /usr/lib/grub to "${dir}""
	einfo "Copying files from /lib/grub and /usr/lib/grub to "${dir}""
	for x in /lib*/grub/*/* /usr/lib*/grub/*/* ; do
	for x in /lib*/grub/*/* /usr/lib*/grub/*/* ; do