diff --git a/scripts/installer.sh b/scripts/installer.sh index 92eb6e433..67f17e342 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -95,7 +95,7 @@ fi echo "==> installer: update cloudron-syslog" CLOUDRON_SYSLOG_DIR=/usr/local/cloudron-syslog -if [[ "$($CLOUDRON_SYSLOG_DIR/bin/cloudron-syslog --version)" != "1.0.2" ]]; then +while [[ "$($CLOUDRON_SYSLOG_DIR/bin/cloudron-syslog --version)" != "1.0.2" ]]; then 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