mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-13 18:47:44 +00:00
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
|
%pre
|
||||||
%ifos linux
|
%ifos linux
|
||||||
if ! /usr/bin/id freeswitch &>/dev/null; then
|
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."
|
%logmsg "Unexpected error adding user \"freeswitch\". Aborting installation."
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user