SHA256
1
0
forked from pool/redis

- Fix useradd invocation: -o is useless without -u and newer

versions of pwdutils/shadowutils fail on this now.

OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=34
This commit is contained in:
Michal Hrusecky (old before rename to _miska_)
2012-11-20 12:16:16 +00:00
committed by Git OBS Bridge
parent a2402683ee
commit 31395fb8ec
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 20 07:40:52 UTC 2012 - dimstar@opensuse.org
- Fix useradd invocation: -o is useless without -u and newer
versions of pwdutils/shadowutils fail on this now.
-------------------------------------------------------------------
Thu Nov 8 16:12:21 UTC 2012 - vjt@openssl.it

View File

@@ -105,7 +105,7 @@ make test && true
%pre
/usr/sbin/groupadd -r %{name} &>/dev/null || :
/usr/sbin/useradd -o -g %{name} -s /bin/false -r -c "User for Redis key-value store" -d %{_data_dir} %{name} &>/dev/null || :
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Redis key-value store" -d %{_data_dir} %{name} &>/dev/null || :
%post
%fillup_and_insserv %{name}