summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-01-15 07:27:02 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-01-15 07:27:25 -0500
commit26888ba1da3948f43233ef1d3d0aed77ab1b1f66 (patch)
treef92f2baf86dc870cbc32327640f8ce56c0e34ee1 /app-portage/grs
parentdev-python/pytest-qt: stable on x86 (diff)
downloadgentoo-26888ba1da3948f43233ef1d3d0aed77ab1b1f66.tar.gz
gentoo-26888ba1da3948f43233ef1d3d0aed77ab1b1f66.tar.bz2
gentoo-26888ba1da3948f43233ef1d3d0aed77ab1b1f66.zip
app-portage/grs: clean up installation for USE=server
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-portage/grs')
-rw-r--r--app-portage/grs/grs-9999.ebuild6
1 files 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
}