systemd: fix systemd-user pam configuration file.

This commit is contained in:
Juan RP 2013-09-13 17:17:57 +02:00
parent 5c130fbf0a
commit 9f21d3859b

View file

@ -1,7 +1,7 @@
# Template file for 'systemd'
pkgname=systemd
version=207
revision=1
revision=2
short_desc="A system and service manager for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/systemd"
@ -120,6 +120,9 @@ post_install() {
# fix .so links in manpage stubs
find ${DESTDIR}/usr/share/man -type f -name '*.[[:digit:]]' \
-exec sed -ri '1s|^\.so (.*)\.([0-9]+)|.so man\2/\1.\2|' {} +
# XXX We don't have pam.d/system-auth, use login pam service instead.
sed -e 's,system-auth,login,g' -i ${DESTDIR}/etc/pam.d/systemd-user
}
if [ -z "$CROSS_BUILD" ]; then