sys-auth/consolekit: Add at_console compat hook only on linux

Package-Manager: portage-2.2.26
This commit is contained in:
Jason Zaman
2016-01-13 22:41:11 +08:00
parent 040fe131ea
commit b6e8f7e5e1

View File

@@ -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