From ae6c49bdd7e468de29cd37372e262ce67aa6aad40e54e7bf022ef546a1adcf8f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 28 Jul 2020 13:35:36 +0000 Subject: [PATCH] Fix xargs call when there is nothing to be done OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=171 --- avahi.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avahi.spec b/avahi.spec index 96cc998..7389b1c 100644 --- a/avahi.spec +++ b/avahi.spec @@ -645,7 +645,7 @@ getent passwd avahi-autoipd >/dev/null || \ %post autoipd %{fillup_only -ns avahi autoipd} # Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11. -find %{_localstatedir}/lib/avahi-autoipd -user avahi |xargs chown avahi-autoipd:avahi-autoipd +find %{_localstatedir}/lib/avahi-autoipd -user avahi |xargs -r chown avahi-autoipd:avahi-autoipd %post -n libavahi-client3 -p /sbin/ldconfig %postun -n libavahi-client3 -p /sbin/ldconfig