From d1af559fedc2b530501ba7d79da125c18fdc0930 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Mon, 29 Jun 2015 11:05:27 +0300 Subject: [lightdm-base] creat symlink de failsafe pentru lightdm-base in caz ca incearca sa-si ia configuratiile din /etc/lightdm-base --- x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild | 7 ++++++- x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'x11-misc/lightdm-base') diff --git a/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild b/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild index ca1c16e7..1657b27c 100644 --- a/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild +++ b/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://launchpad.net/${REAL_PN}/${TRUNK_VERSION}/${PV}/+download/${REAL LICENSE="GPL-3 LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" +KEYWORDS="amd64 ~arm ~ppc x86" IUSE="+introspection" S="${WORKDIR}/${REAL_P}" @@ -105,4 +105,9 @@ src_install() { readme.gentoo_create_doc systemd_dounit "${FILESDIR}/${REAL_PN}.service" + if [[ -d ${D}/etc/lightdm-base ]] ; then + ewarn "The directory exists." + else + dosym /etc/lightdm /etc/"${PN}" + fi } diff --git a/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild b/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild index ca1c16e7..5055d565 100644 --- a/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild +++ b/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild @@ -105,4 +105,10 @@ src_install() { readme.gentoo_create_doc systemd_dounit "${FILESDIR}/${REAL_PN}.service" + + if [[ -d ${D}/etc/lightdm-base ]] ; then + ewarn "The directory exists." + else + dosym /etc/lightdm /etc/"${PN}" + fi } -- cgit v1.2.3