chore(scripts): make quick installer script POSIX sh compliant
Currently the quick install script isn't POSIX sh compliant and hence, works only on bash.
In order to make it run on all shell types, it must be POSIX sh compliant. All bashisms have been checks and removed/fixed to POSIX sh formats.