1 |
commit: d3fd9870abb2900afecfba186b84aed46a2882d6 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 1 15:41:45 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 15:41:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3fd9870 |
7 |
|
8 |
net-misc/turbovnc: drop incompatible init scripts |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-misc/turbovnc/turbovnc-2.2.6.ebuild | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/net-misc/turbovnc/turbovnc-2.2.6.ebuild b/net-misc/turbovnc/turbovnc-2.2.6.ebuild |
16 |
index 93c2f6b76e2..99bf327613f 100644 |
17 |
--- a/net-misc/turbovnc/turbovnc-2.2.6.ebuild |
18 |
+++ b/net-misc/turbovnc/turbovnc-2.2.6.ebuild |
19 |
@@ -58,6 +58,10 @@ src_install() { |
20 |
make_desktop_entry vncviewer "TurboVNC Viewer" /usr/share/icons/hicolor/48x48/apps/turbovnc.png |
21 |
fi |
22 |
|
23 |
+ # Don't install incompatible init script |
24 |
+ rm -rf "${ED}"/etc/init.d/ || die |
25 |
+ rm -rf "${ED}"/etc/sysconfig/ || die |
26 |
+ |
27 |
find "${ED}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 rm || die |
28 |
einstalldocs |
29 |
} |