projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ee3b5
)
app-portage/grs: clean up installation for USE=server
author
Anthony G. Basile
<blueness@gentoo.org>
Mon, 15 Jan 2018 12:27:02 +0000
(07:27 -0500)
committer
Anthony G. Basile
<blueness@gentoo.org>
Mon, 15 Jan 2018 12:27:25 +0000
(07:27 -0500)
Package-Manager: Portage-2.3.13, Repoman-2.3.3
app-portage/grs/grs-9999.ebuild
patch
|
blob
|
history
diff --git
a/app-portage/grs/grs-9999.ebuild
b/app-portage/grs/grs-9999.ebuild
index 1002b8a73cb79e6be81ed554f202b775ee1e6edb..210fdb352dd2f08cf2b115684fee8d910fd0a57a 100644
(file)
--- 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
}