Accepting request 260522 from home:Ledest:misc
fix bashisms in pre script OBS-URL: https://build.opensuse.org/request/show/260522 OBS-URL: https://build.opensuse.org/package/show/network:utilities/memcached?expand=0&rev=26
This commit is contained in:
parent
932efb3134
commit
10c94e9a49
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user