summaryrefslogtreecommitdiff
path: root/x11-misc/lightdm-base
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-06-29 11:05:27 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-06-29 11:05:27 +0300
commitd1af559fedc2b530501ba7d79da125c18fdc0930 (patch)
treea841558217e346c5c388b81011640e984a220fcf /x11-misc/lightdm-base
parent301ec9b33478e42a70d94a1fc5cd5216416b6413 (diff)
[lightdm-base] creat symlink de failsafe pentru lightdm-base in caz ca incearca sa-si ia configuratiile din /etc/lightdm-base
Diffstat (limited to 'x11-misc/lightdm-base')
-rw-r--r--x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild7
-rw-r--r--x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild6
2 files changed, 12 insertions, 1 deletions
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
}