Skip to content

Commit

Permalink
sys-auth/consolekit: Add at_console compat hook only on linux
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
perfinion committed Jan 13, 2016
1 parent 040fe13 commit b6e8f7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sys-auth/consolekit/consolekit-1.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6e8f7e

Please sign in to comment.