From 26888ba1da3948f43233ef1d3d0aed77ab1b1f66 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Mon, 15 Jan 2018 07:27:02 -0500 Subject: app-portage/grs: clean up installation for USE=server Package-Manager: Portage-2.3.13, Repoman-2.3.3 --- app-portage/grs/grs-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild index 1002b8a73cb7..210fdb352dd2 100644 --- a/app-portage/grs/grs-9999.ebuild +++ b/app-portage/grs/grs-9999.ebuild @@ -54,6 +54,8 @@ src_install() { distutils-r1_src_install echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs doenvd "${T}"/20grs - mkdir ${D}/usr/share/${PN} - use server && cp "${DISTDIR}"/${ISO} ${D}/usr/share/${PN} + if use server; then + mkdir ${D}/usr/share/${PN} + cp "${DISTDIR}"/${ISO} ${D}/usr/share/${PN} + fi } -- cgit v1.2.3-65-gdbad