openssh: fix previous and escape -.

This commit is contained in:
Juan RP 2014-06-20 10:07:17 +02:00
parent 58cf5e51d1
commit db7a77c0f6
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ post_install() {
# Disable pam_cracklib
sed '/pam_cracklib.*/d' -i ${DESTDIR}/etc/pam.d/sshd
# Enable pam_systemd.so by default.
printf "-session\trequired\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
printf "\-session\trequired\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
}
openssh-server_package() {