From cdeb7918c63f298322505bf8fecfc77ecc8f4f6c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Sep 2011 18:31:12 +0200 Subject: [PATCH] spec file fixes --- systemd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index 45138d2..05fd815 100644 --- a/systemd.spec +++ b/systemd.spec @@ -171,7 +171,7 @@ rm -rf $RPM_BUILD_ROOT /bin/systemctl daemon-reexec > /dev/null 2>&1 || : # Make sure pam_systemd is enabled -if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac ; then +if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac >/dev/null 2>&1 ; then /usr/sbin/authconfig --update --nostart >/dev/null 2>&1 || : # Try harder @@ -245,6 +245,7 @@ fi %ghost %config(noreplace) %{_sysconfdir}/os-release %ghost %config(noreplace) %{_sysconfdir}/machine-id %ghost %config(noreplace) %{_sysconfdir}/machine-info +%ghost %config(noreplace) %{_sysconfdir}/timezone /bin/systemd /bin/systemd-notify /bin/systemd-ask-password