From: Ken Rice Date: Wed, 9 Mar 2016 17:30:02 +0000 (-0600) Subject: FS-7389 tweak the freeswitch users homedir to be correct in the specfile X-Git-Tag: v1.6.7~2^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbdddeaba7ed436d4ff0ebf3c867c3bb170514ac;p=thirdparty%2Ffreeswitch.git FS-7389 tweak the freeswitch users homedir to be correct in the specfile --- 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