summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-11-30 00:08:31 +0200
committerViorel Munteanu <ceamac@gentoo.org>2023-11-30 00:09:54 +0200
commit0683e3ed0a66aeff80570d6f5539629648b2608e (patch)
tree0d1d5f698098c83e3dbcc959d46876c8080430db /net-misc/turbovnc
parentdev-python/numpy: Keyword for m68k (diff)
downloadgentoo-0683e3ed0a66aeff80570d6f5539629648b2608e.tar.gz
gentoo-0683e3ed0a66aeff80570d6f5539629648b2608e.tar.bz2
gentoo-0683e3ed0a66aeff80570d6f5539629648b2608e.zip
net-misc/turbovnc: fix install with USE=-server
Closes: https://bugs.gentoo.org/918632 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-misc/turbovnc')
-rw-r--r--net-misc/turbovnc/turbovnc-3.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/turbovnc/turbovnc-3.1.ebuild b/net-misc/turbovnc/turbovnc-3.1.ebuild
index 424b4426e084..8046e0e11fb8 100644
--- a/net-misc/turbovnc/turbovnc-3.1.ebuild
+++ b/net-misc/turbovnc/turbovnc-3.1.ebuild
@@ -130,8 +130,10 @@ src_install() {
fi
# Don't install incompatible init script
- rm -r "${ED}"/etc/init.d/ || die
- rm -r "${ED}"/etc/sysconfig/ || die
+ if use server; then
+ rm -r "${ED}"/etc/init.d/ || die
+ rm -r "${ED}"/etc/sysconfig/ || die
+ fi
# Conflicts with x11-base/xorg-server
find "${ED}"/usr/share/man/man1/ -name Xserver.1\* -delete || die