sys-boot/grub-themes-gentoo: install files in both /boot and /usr/share

This will allow the themes to be installed using grub-install when the
--boot-directory and --themes options are passed.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2025-12-15 14:42:31 -05:00
parent 94bfa17fa9
commit 5db1859552

View File

@@ -19,6 +19,9 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
PDEPEND="sys-boot/grub"
src_install() {
insinto /boot/grub/themes
doins -r gentoo_frosted gentoo_glass gentoo_minimalist
local d
for d in /boot /usr/share; do
insinto "${d}"/grub/themes
doins -r gentoo_frosted gentoo_glass gentoo_minimalist
done
}