The code to delete the installed binaries is here:
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*
Also, you don't need to do a git pull -- just a git fetch. fetch grabs the updates. Pull fetches the updates and then checks out the most recent revision on the selected branch. So do fetch then checkout the version you want.
-Avi Marcus
BestFone
On Sat, Mar 30, 2013 at 5:24 AM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com> wrote:
Am I missing something? Any unnecessary steps? Based on Michael's input, the following should be done in the source directory:
git pull
git checkout <hash>
git clean -d -f -x
./bootstrap.sh
./configure <my configure options>
<restore previously backed-up modules.conf>
make
make install
Thank you,
Victor
On 13-03-29 11:29 AM, Michael Collins wrote:
FS will never overwrite existing configs in the conf directory. However, you can be extra safe by backing up your conf directory, performing your update, then restoring your conf directory.
As far as the non-standard "configure" script that will need to be backed up as well. You'll need to restore that script after you run or re-run the bootstrap.sh script. Same goes for modules.conf - back it up and restore it after you run the modified configure script. In cases like this I recommend that you write a simple shell script and add a few comments to it so that the next time you do this in a few months you'll know not only what is supposed to happen (shell script commands) but why (comments).
-MC
On Thu, Mar 28, 2013 at 6:48 PM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com> wrote:
Hello,
What would be the right way to update existing system to a particular
version?
Under normal conditions I'd do "make current" Here I want exactly the
same, but:
-specify the version to install
Making sure to:
-preserve non-standard ./configure string used during initial install
-make sure conf directory is not overwritten by stock config.
-make sure modules.conf is not overwritten / changed
It should be simple...but want to avoid trial and error. WiKi is
somewhat confusing.
Thank you,
-Victor
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org