forked from pool/haproxy
Accepting request 260649 from network:ha-clustering:Factory
1 OBS-URL: https://build.opensuse.org/request/show/260649 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/haproxy?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 09 21:52:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- fix bashisms in pre script
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 31 22:24:27 UTC 2014 - mrueckert@suse.de
|
Fri Oct 31 22:24:27 UTC 2014 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@@ -159,8 +159,8 @@ ln -sf /sbin/service %{buildroot}%{_sbindir}/rc%{pkg_name}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/sbin/groupadd -r %{pkg_name} &>/dev/null ||:
|
/usr/sbin/groupadd -r %{pkg_name} >/dev/null 2>&1 ||:
|
||||||
/usr/sbin/useradd -g %{pkg_name} -s /bin/false -r -c "user for %{pkg_name}" -d %{pkg_home} %{pkg_name} &>/dev/null ||:
|
/usr/sbin/useradd -g %{pkg_name} -s /bin/false -r -c "user for %{pkg_name}" -d %{pkg_home} %{pkg_name} >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_add_pre %{pkg_name}.service
|
%service_add_pre %{pkg_name}.service
|
||||||
|
Reference in New Issue
Block a user