commit:     8d28d71f0ce5e2955769974c3a203fe1b69a8994
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 13:37:50 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 13:38:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d28d71f

app-portage/grs: do not install grsrun when USE=server

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 app-portage/grs/{grs-0.8.ebuild => grs-0.8-r1.ebuild} | 2 ++
 app-portage/grs/grs-9999.ebuild                       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/app-portage/grs/grs-0.8.ebuild b/app-portage/grs/grs-0.8-r1.ebuild
similarity index 97%
rename from app-portage/grs/grs-0.8.ebuild
rename to app-portage/grs/grs-0.8-r1.ebuild
index 4d092253267a..ab9211c65032 100644
--- a/app-portage/grs/grs-0.8.ebuild
+++ b/app-portage/grs/grs-0.8-r1.ebuild
@@ -55,5 +55,7 @@ src_install() {
        if use server; then
                mkdir "${D}"/usr/share/${PN}
                cp "${DISTDIR}"/${ISO} "${D}"/usr/share/${PN}
+       else
+               rm "${D}"/usr/bin/grsrun
        fi
 }

diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild
index 4d092253267a..ab9211c65032 100644
--- a/app-portage/grs/grs-9999.ebuild
+++ b/app-portage/grs/grs-9999.ebuild
@@ -55,5 +55,7 @@ src_install() {
        if use server; then
                mkdir "${D}"/usr/share/${PN}
                cp "${DISTDIR}"/${ISO} "${D}"/usr/share/${PN}
+       else
+               rm "${D}"/usr/bin/grsrun
        fi
 }

Reply via email to