aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefson <herrtimson@yahoo.de>2018-11-02 10:02:58 +0100
committerAnthony G. Basile <blueness@gentoo.org>2018-11-10 18:58:28 -0500
commit1364e4e09223ae7591e212c7335ca99e5d342584 (patch)
tree0139b57cd0dc19a8ef3583ef25ac36a07ea8e953 /x11-base/xorg-server
parentx11-base/xorg-server: readd IUSE=suid, fixes #669648 (diff)
downloadmusl-1364e4e09223ae7591e212c7335ca99e5d342584.tar.gz
musl-1364e4e09223ae7591e212c7335ca99e5d342584.tar.bz2
musl-1364e4e09223ae7591e212c7335ca99e5d342584.zip
x11-base/xorg-serever: don't install empty directory, fixes #647302
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'x11-base/xorg-server')
-rw-r--r--x11-base/xorg-server/xorg-server-1.20.3.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-base/xorg-server/xorg-server-1.20.3.ebuild b/x11-base/xorg-server/xorg-server-1.20.3.ebuild
index 959b9ec4..f448863e 100644
--- a/x11-base/xorg-server/xorg-server-1.20.3.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.20.3.ebuild
@@ -198,6 +198,8 @@ src_install() {
# install the @x11-module-rebuild set for Portage
insinto /usr/share/portage/config/sets
newins "${FILESDIR}"/xorg-sets.conf xorg.conf
+
+ [ -d "${ED}"/var/log ] && rmdir "${ED}"/var/log || die
}
pkg_postinst() {