Accepting request 260489 from home:Ledest:misc
fix bashisms in pre script OBS-URL: https://build.opensuse.org/request/show/260489 OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=10
This commit is contained in:
parent
709681f4fa
commit
eb2710c2ad
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 05:21:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 14:28:08 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
|
@ -83,8 +83,8 @@ chmod -R o= %{buildroot}/etc/keepalived
|
||||
rm -rv %{buildroot}/etc/keepalived/samples/
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd -r %{name} &>/dev/null || :
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "Keepalived" -d %{_var}/lib/%{name} %{name} &>/dev/null || :
|
||||
/usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || :
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "Keepalived" -d %{_var}/lib/%{name} %{name} >/dev/null 2>&1 || :
|
||||
%if 0%{?has_systemd}
|
||||
%service_add_pre %{name}.service %{name}.socket
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user