Just today (December 3), I downloaded the newest install script and it is throwing errors as soon as it starts running.
Here is the output on Debian 9
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if SUFFIX supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-E, -r, --regexp-extended
use extended regular expressions in the script
(for portability use POSIX -E).
-s, --separate
consider files as separate rather than as a single,
continuous long stream.
--sandbox
operate in sandbox mode.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
-z, --null-data
separate lines by NUL characters
--help display this help and exit
--version output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
./install.sh: line 51: s/./*/5: No such file or directory
./install.sh: line 323: syntax error near unexpected token `newline'
./install.sh: line 323: ` echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > '
On CentOS 7
/usr/src/install.sh: line 105: syntax error near unexpected token `&&'
/usr/src/install.sh: line 105: `&& [ "$ACCEPT" != "NO" ]; do'
I went ahead and used an older one I downloaded about a month ago to install version 5. No problems with that version