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
This commit is contained in:
parent
2f2388ff77
commit
ae6c49bdd7
@ -645,7 +645,7 @@ getent passwd avahi-autoipd >/dev/null || \
|
|||||||
%post autoipd
|
%post autoipd
|
||||||
%{fillup_only -ns avahi autoipd}
|
%{fillup_only -ns avahi autoipd}
|
||||||
# Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11.
|
# 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
|
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user