Skip to content

Commit db7ecf4

Browse files
shortcircuitvWavyEbuilder
authored andcommitted
sys-apps/turnstile: add post-install warning for PAM config
1 parent 52a59d1 commit db7ecf4

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

sys-apps/turnstile/turnstile-0.1.10.ebuild

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ src_configure() {
3131
)
3232
meson_src_configure
3333
}
34+
35+
pkg_postinst() {
36+
ewarn "To support session tracking, please append"
37+
ewarn "'session optional pam_turnstile.so' to /etc/pam.d/system-login"
38+
ewarn
39+
}

sys-apps/turnstile/turnstile-9999.ebuild

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ src_configure() {
3131
)
3232
meson_src_configure
3333
}
34+
35+
pkg_postinst() {
36+
ewarn "To support session tracking, please append"
37+
ewarn "'session optional pam_turnstile.so' to /etc/pam.d/system-login"
38+
ewarn
39+
}

0 commit comments

Comments
 (0)