summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-01-13 22:41:11 +0800
committerJason Zaman <perfinion@gentoo.org>2016-01-13 22:44:51 +0800
commitb6e8f7e5e1761aae662174822ee3f7e448d57235 (patch)
treef7a4b08b387e422d1f70d1dfc3258be22e7e9f1a /sys-auth
parentnet-analyzer/greenbone-security-assistant: Security update, fix #571726 (diff)
downloadgentoo-b6e8f7e5e1761aae662174822ee3f7e448d57235.tar.gz
gentoo-b6e8f7e5e1761aae662174822ee3f7e448d57235.tar.bz2
gentoo-b6e8f7e5e1761aae662174822ee3f7e448d57235.zip
sys-auth/consolekit: Add at_console compat hook only on linux
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/consolekit/consolekit-1.0.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-auth/consolekit/consolekit-1.0.1.ebuild b/sys-auth/consolekit/consolekit-1.0.1.ebuild
index 4099a3a13e4..af935ad5253 100644
--- a/sys-auth/consolekit/consolekit-1.0.1.ebuild
+++ b/sys-auth/consolekit/consolekit-1.0.1.ebuild
@@ -104,6 +104,11 @@ src_install() {
exeinto /etc/X11/xinit/xinitrc.d
newexe "${FILESDIR}"/90-consolekit-3 90-consolekit
+ if use kernel_linux; then
+ exeinto /usr/lib/ConsoleKit/run-session.d
+ doexe "${FILESDIR}"/pam-foreground-compat.ck
+ fi
+
prune_libtool_files --all # --all for pam_ck_connector.la
rm -rf "${ED}"/var/run || die # let the init script create the directory