From 812fb10583f8b8221295251d8d371e2ad2150d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 20 May 2015 00:24:27 -0400 Subject: [PATCH] Suppress warning from %post script when dir does not exist --- systemd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index 39f3a5c..9656798 100644 --- a/systemd.spec +++ b/systemd.spec @@ -624,7 +624,7 @@ setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ >/dev # Remove duplicate ACL entries on /var/log/journal/ # This should be removed before before F22 or F23 release -getfacl -p /var/log/journal/`cat /etc/machine-id`|grep -v '^#'|sort -u|setfacl --set-file=- /var/log/journal/`cat /etc/machine-id` >/dev/null 2>&1 || : +getfacl -p /var/log/journal/`cat /etc/machine-id` 2>/dev/null|grep -v '^#'|sort -u|setfacl --set-file=- /var/log/journal/`cat /etc/machine-id` >/dev/null 2>&1 || : # Move old stuff around in /var/lib mv %{_localstatedir}/lib/random-seed %{_localstatedir}/lib/systemd/random-seed >/dev/null 2>&1 || :