[Freeswitch-users] Where to install sample scripts.

Michael Jerris mike at jerris.com
Sat Aug 14 10:10:16 PDT 2010


This is the same issue we have with all the examples in "scripts" .  Likely I will start installing those to /usr/share somewhere.  Can people comment on where these typically go on different distros?

Mike

On Jul 13, 2010, at 2:15 PM, Andrew Thompson wrote:
> 
> To be honest, I hadn't considered this question at all. I included
> freeswitch.erl mainly as an example of how to use the API, and as a way
> to abastract some of the low level annoyances of async message passing
> when you want synchronous behaviour. I never really thought about
> treating it as a system lib. The ESL libs don't seem to auto-install
> themselves (the wiki is unclear on that though).
> 
> I could easily compile freeswitch.erl into a beam and install the src
> and beam into /usr/local/lib/erlang/lib/freeswitch-1.0 or whatever, I
> suppose, but is that even what people want? I'm hesitant to pollute the
> erlang lib directory with my own stuff. Also, how do we do versioning?
> When building from git all we get is 1.0.head or whatever. Should I just
> override any installed version with a new one?
> 
> Anyone have any thoughts? (Assuming anyone actually *uses*
> freeswitch.erl besides myself).
> 
> Andrew




More information about the FreeSWITCH-users mailing list