Accepting request 260622 from network:utilities

1

OBS-URL: https://build.opensuse.org/request/show/260622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/memcached?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2014-11-10 16:28:54 +00:00 committed by Git OBS Bridge
commit 6ba049f62f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 19:11:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashisms in pre script
-------------------------------------------------------------------
Mon Jun 23 20:18:46 UTC 2014 - andreas.stieger@gmx.de

View File

@ -110,8 +110,8 @@ make %{?_smp_mflags}
%{__rm} -rf %{buildroot};
%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 %{home_dir} %{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 %{home_dir} %{pkg_name} >/dev/null 2>&1 || :
%if %{with systemd}
%service_add_pre %{pkg_name}.service
%endif