tmpfiles.d: only copy /etc/pam.d if PAM is present

If HAVE_PAM isn't set then don't attempt to copy /etc/pam.d from the
factory, as it doesn't get installed.
This commit is contained in:
Ross Burton 2015-03-03 11:37:52 +00:00 committed by Zbigniew Jędrzejewski-Szmek
parent a6cccd8f58
commit 3b33b54273
1 changed files with 2 additions and 0 deletions

View File

@ -14,4 +14,6 @@ m4_ifdef(`ENABLE_RESOLVED',
L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
)m4_dnl
C /etc/nsswitch.conf - - - -
m4_ifdef(`HAVE_PAM',
C /etc/pam.d - - - -
)m4_dnl