diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-07-15 22:39:43 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-07-15 22:39:43 +0300 |
commit | d18495755ffc8ad403b4c33ea04a03c7054ad7ac (patch) | |
tree | 8566b288b591ac21f1b0ab66378cd22de0eb651e /x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild | |
parent | 92711a67d7f59e06e274590baf9ef062f142241c (diff) |
[lightdm-base] reparat sed-ul sa trimita catre /etc/lightdm, si nu /etc/lightdm-base
Diffstat (limited to 'x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild')
-rw-r--r-- | x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild b/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild index ca1c16e7..baff4b25 100644 --- a/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild +++ b/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild @@ -8,6 +8,7 @@ inherit autotools eutils pam readme.gentoo systemd versionator TRUNK_VERSION="$(get_version_component_range 1-2)" REAL_PN="${PN/-base}" REAL_P="${P/-base}" +MY_PN="lightdm" DESCRIPTION="A lightweight display manager, base libraries and programs" HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" SRC_URI="http://launchpad.net/${REAL_PN}/${TRUNK_VERSION}/${PV}/+download/${REAL_P}.tar.xz @@ -44,7 +45,7 @@ src_prepare() { einfo "Fixing the session-wrapper variable in lightdm.conf" sed -i -e \ - "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ + "/session-wrapper/s@^.*@session-wrapper=/etc/${MY_PN}/Xsession@" \ data/lightdm.conf || die "Failed to fix lightdm.conf" epatch_user |