提交 cbdddeab authored 作者: Ken Rice's avatar Ken Rice

FS-7389 tweak the freeswitch users homedir to be correct in the specfile

上级 a5a5cc47
......@@ -1716,7 +1716,7 @@ cd ../..
%pre
%ifos linux
if ! /usr/bin/id freeswitch &>/dev/null; then
/usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix} freeswitch || \
/usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{LOCALSTATEDIR} freeswitch || \
%logmsg "Unexpected error adding user \"freeswitch\". Aborting installation."
fi
%endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论