before-install: Only try to chmod the log if it exists

On the very first install the log does not exist yet, so do not try to
chmod it in that case. This avoids the

    chmod: cannot access '/tmp/gerrit-installer.log': No such file or
    directory

error.

Change-Id: Iafe60f78ac71ff37421b92382ccc681293fb1202
diff --git a/fpm/scripts/before-install.sh b/fpm/scripts/before-install.sh
index 50af119..8c14336 100755
--- a/fpm/scripts/before-install.sh
+++ b/fpm/scripts/before-install.sh
@@ -1,5 +1,5 @@
 LOG=/tmp/gerrit-installer.log
-chmod a+rw $LOG
+[ ! -f $LOG ] || chmod a+rw $LOG
 
 GROUP_ID=$(/usr/bin/getent group $GROUP | cut -d ':' -f 3 2>> $LOG || true)
 if [ "$GROUP_ID" == "" ]