提交 43f2016b authored 作者: Brian West's avatar Brian West

fix spec file thanks andrew

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7981 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 2ef2ea16
......@@ -237,7 +237,7 @@ touch .noversion
# Add a freeswitch user with group daemon
%pre
%ifos linux
/usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix}/var freeswitch 2> /dev/null || :
/usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix} freeswitch 2> /dev/null || :
%endif
%post
......@@ -246,6 +246,8 @@ touch .noversion
%{__mkdir} -p /etc/opt
%{__ln_s} -f %{prefix}/conf /etc%{prefix}
chkconfig --add freeswitch
%postun
%{?run_ldconfig:%run_ldconfig}
%{__rm} -rf %{prefix}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论