FS-7389 tweak the freeswitch users homedir to be correct in the specfile
This commit is contained in:
parent
a5a5cc47b4
commit
cbdddeaba7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue