- Call xargs -r0 instead of just xargs -r: guard against file names
with whitespaces. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=172
This commit is contained in:
parent
ae6c49bdd7
commit
026f679097
@ -650,7 +650,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 -r0 chown avahi-autoipd:avahi-autoipd
|
||||
|
||||
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||
|
@ -650,7 +650,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 -r0 chown avahi-autoipd:avahi-autoipd
|
||||
|
||||
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 30 10:06:28 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Call xargs -r0 instead of just xargs -r: guard against file names
|
||||
with whitespaces.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 21 21:39:05 UTC 2020 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
|
@ -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 -r chown avahi-autoipd:avahi-autoipd
|
||||
find %{_localstatedir}/lib/avahi-autoipd -user avahi |xargs -r0 chown avahi-autoipd:avahi-autoipd
|
||||
|
||||
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user