commit:     237b800c646692ed4fdc27a8996f7961a57a09fb
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 27 09:46:20 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 27 09:46:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=237b800c

x11-wm/xpra: Delete the non-Gentoo init.d script

It was not marked executable, but we should not install a non-Gentoo script
anyway. I don't personally use Xpra as a server on Gentoo, so I'm not going to
write a script, but anyone is welcome to contribute one.

Closes: https://bugs.gentoo.org/833858
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 x11-wm/xpra/xpra-4.2.ebuild   | 3 +++
 x11-wm/xpra/xpra-4.3.2.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/x11-wm/xpra/xpra-4.2.ebuild b/x11-wm/xpra/xpra-4.2.ebuild
index 6e18d37932bb..681a6c97aab5 100644
--- a/x11-wm/xpra/xpra-4.2.ebuild
+++ b/x11-wm/xpra/xpra-4.2.ebuild
@@ -161,6 +161,9 @@ python_install_all() {
        local dir=$(get_udevdir)
        dodir "${dir%/*}"
        mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die
+
+       # TODO: Write a Gentoo init script.
+       rm -r "${ED}"/etc/{init.d,sysconfig}/ || die
 }
 
 pkg_postinst() {

diff --git a/x11-wm/xpra/xpra-4.3.2.ebuild b/x11-wm/xpra/xpra-4.3.2.ebuild
index b0bbdd1cfe13..0e1835e5a126 100644
--- a/x11-wm/xpra/xpra-4.3.2.ebuild
+++ b/x11-wm/xpra/xpra-4.3.2.ebuild
@@ -188,6 +188,9 @@ python_install_all() {
        local dir=$(get_udevdir)
        dodir "${dir%/*}"
        mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die
+
+       # TODO: Write a Gentoo init script.
+       rm -r "${ED}"/etc/{init.d,sysconfig}/ || die
 }
 
 pkg_postinst() {

Reply via email to