[Freeswitch-svn] [commit] r7981 - freeswitch/trunk
Freeswitch SVN
brian at freeswitch.org
Sat Mar 29 00:22:29 EDT 2008
Author: brian
Date: Sat Mar 29 00:22:28 2008
New Revision: 7981
Modified:
freeswitch/trunk/freeswitch.spec
Log:
fix spec file thanks andrew
Modified: freeswitch/trunk/freeswitch.spec
==============================================================================
--- freeswitch/trunk/freeswitch.spec (original)
+++ freeswitch/trunk/freeswitch.spec Sat Mar 29 00:22:28 2008
@@ -237,7 +237,7 @@
# 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 @@
%{__mkdir} -p /etc/opt
%{__ln_s} -f %{prefix}/conf /etc%{prefix}
+chkconfig --add freeswitch
+
%postun
%{?run_ldconfig:%run_ldconfig}
%{__rm} -rf %{prefix}
More information about the Freeswitch-svn
mailing list