Accepting request 142001 from home:dimstar:branches:network:utilities
- Fix useradd invocation: -o is useless without -u and newer versions of pwdutils/shadowutils fail on this now. Error is masked due to || : OBS-URL: https://build.opensuse.org/request/show/142001 OBS-URL: https://build.opensuse.org/package/show/network:utilities/memcached?expand=0&rev=16
This commit is contained in:
parent
5181ebab3f
commit
a3b5252d1f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 20 07:51:02 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Fix useradd invocation: -o is useless without -u and newer
|
||||
versions of pwdutils/shadowutils fail on this now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 7 20:47:22 UTC 2012 - chris@computersalat.de
|
||||
|
||||
|
@ -107,7 +107,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd -r %{pkg_name} &>/dev/null || :
|
||||
/usr/sbin/useradd -o -g %{pkg_name} -s /bin/false -r -c "user for %{pkg_name}" -d %{home_dir} %{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 || :
|
||||
%if %{with systemd}
|
||||
%service_add_pre %{pkg_name}.service
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user