Update install.sh to manage home correctly

3 jobs for master in 13 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #3775
preprod
job test

00:00:13

 
  Cleanup Test
skipped #3776
preprod
cleanup test
 
  Deploy
failed #3777
prod
job deploy

00:00:00

 
Name Stage Failure
failed
job deploy Deploy
$ which git || (apt-get update -yq && apt-get install git -yqq)
/usr/bin/git
$ chmod a+x ci/install.sh
$ ./ci/install.sh
./ci/install.sh: ligne 3 : [: x$PROD_HOME : nombre entier attendu comme expression
./ci/install.sh: ligne 10 : [: « ] » manquant
./ci/install.sh: ligne 14: erreur de syntaxe près du symbole inattendu « fi »
./ci/install.sh: ligne 14: `fi '
ERROR: Job failed: exit status 1