SHA256
1
0
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:
Dominique Leuenberger 2014-11-11 08:59:31 +00:00 committed by Git OBS Bridge
parent 4e16a7af0d
commit f86f51ccb3
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -159,8 +159,8 @@ ln -sf /sbin/service %{buildroot}%{_sbindir}/rc%{pkg_name}
%endif
%pre
/usr/sbin/groupadd -r %{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 ||:
/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 2>&1 || :
%if %{with systemd}
%service_add_pre %{pkg_name}.service