HPCC-12223 Install-cluster.sh reworked onto candidate-5.2.0

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>

HPCC-12223 Fixed a bug found in review

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
Merge pull request #6718 from Michael-Gardner/HPCC-12223

HPCC-12223 Install-cluster.sh reworked onto candidate-5.2.0

Reviewed-By: Mark Kelly <mark.kelly@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>