From cbdddeaba7ed436d4ff0ebf3c867c3bb170514ac Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Wed, 9 Mar 2016 11:30:02 -0600 Subject: [PATCH] FS-7389 tweak the freeswitch users homedir to be correct in the specfile --- freeswitch.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeswitch.spec b/freeswitch.spec index 8d1b02a701..0032b05039 100644 --- a/freeswitch.spec +++ b/freeswitch.spec @@ -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