don't use " for saslauth user's description (#1093678)
This commit is contained in:
parent
7eb7d41ae4
commit
e47358ce0f
|
@ -1,5 +1,5 @@
|
||||||
%define username saslauth
|
%define username saslauth
|
||||||
%define hint "Saslauthd user"
|
%define hint Saslauthd user
|
||||||
%define homedir /run/saslauthd
|
%define homedir /run/saslauthd
|
||||||
|
|
||||||
%define _plugindir2 %{_libdir}/sasl2
|
%define _plugindir2 %{_libdir}/sasl2
|
||||||
|
@ -343,7 +343,7 @@ test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group %{username} >/dev/null || groupadd -g 76 -r %{username}
|
getent group %{username} >/dev/null || groupadd -g 76 -r %{username}
|
||||||
getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir} -s /sbin/nologin -c \"%{hint}\" %{username}
|
getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir} -s /sbin/nologin -c "%{hint}" %{username}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post saslauthd.service
|
%systemd_post saslauthd.service
|
||||||
|
|
Loading…
Reference in New Issue