From 987a42b44801d0b8e263d37fcea5b3d0e8e9a086 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 18 Jun 2018 17:58:35 -0700 Subject: [PATCH] Fix syntax --- scripts/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 67f17e342..1d73e6cfe 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -95,13 +95,13 @@ fi echo "==> installer: update cloudron-syslog" CLOUDRON_SYSLOG_DIR=/usr/local/cloudron-syslog -while [[ "$($CLOUDRON_SYSLOG_DIR/bin/cloudron-syslog --version)" != "1.0.2" ]]; then +while "$($CLOUDRON_SYSLOG_DIR/bin/cloudron-syslog --version)" != "1.0.2"; do rm -rf "${CLOUDRON_SYSLOG_DIR}" mkdir -p "${CLOUDRON_SYSLOG_DIR}" if npm install --unsafe-perm -g --prefix "${CLOUDRON_SYSLOG_DIR}" cloudron-syslog@1.0.2; then break; fi echo "===> installer: Failed to install cloudron-syslog, trying again" sleep 5 -fi +done if ! id "${USER}" 2>/dev/null; then useradd "${USER}" -m