summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/screen/screen_4.0.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/screen/screen_4.0.3.bb')
-rw-r--r--meta/recipes-extended/screen/screen_4.0.3.bb9
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-extended/screen/screen_4.0.3.bb b/meta/recipes-extended/screen/screen_4.0.3.bb
index be42fb9eec..b79b573e6c 100644
--- a/meta/recipes-extended/screen/screen_4.0.3.bb
+++ b/meta/recipes-extended/screen/screen_4.0.3.bb
@@ -36,12 +36,9 @@ EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 \
36 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" 36 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
37 37
38do_install_append () { 38do_install_append () {
39 for feature in ${DISTRO_FEATURES}; do 39 if [ "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then
40 if [ "$feature" = "pam" ]; then 40 install -D -m 644 ${WORKDIR}/screen.pam ${D}/${sysconfdir}/pam.d/screen
41 install -D -m 644 ${WORKDIR}/screen.pam ${D}/${sysconfdir}/pam.d/screen 41 fi
42 break
43 fi
44 done
45} 42}
46 43
47pkg_postinst_${PN} () { 44pkg_postinst_${PN} () {