Rely on 'nogroup' provided by Provides
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=11
This commit is contained in:
parent
a53d6c2806
commit
49bcd2c968
@ -123,7 +123,6 @@ done
|
|||||||
%python_clone -a %{buildroot}%{_sysconfdir}/synapse/log_config.yaml
|
%python_clone -a %{buildroot}%{_sysconfdir}/synapse/log_config.yaml
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group nogroup >/dev/null || /usr/sbin/groupadd -r nogroup
|
|
||||||
getent passwd synapse >/dev/null || \
|
getent passwd synapse >/dev/null || \
|
||||||
/usr/sbin/useradd -r -g nogroup -s /sbin/nologin -c 'Matrix Synapse' \
|
/usr/sbin/useradd -r -g nogroup -s /sbin/nologin -c 'Matrix Synapse' \
|
||||||
-d %{_localstatedir}/lib/synapse synapse
|
-d %{_localstatedir}/lib/synapse synapse
|
||||||
|
Loading…
Reference in New Issue
Block a user