From 39015e7d6df2c11e09272c965bb1093111afd951 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:17:54 +0200 Subject: [PATCH] Fix: Typo in install script --- other/nightly/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/nightly/install.sh b/other/nightly/install.sh index 020e7d45b..8f318f7a7 100755 --- a/other/nightly/install.sh +++ b/other/nightly/install.sh @@ -399,10 +399,10 @@ if [ ! -f ~/.ssh/authorized_keys ]; then fi set +e -IS_COOLIFY_VOLUME_EXISTS=$(docker volume ls | grep coolify-db | wc -l) +IF_COOLIFY_VOLUME_EXISTS=$(docker volume ls | grep coolify-db | wc -l) set -e -if [ "$IS_COOLIFY_VOLUME_EXISTS" -eq 0 ]; then +if [ "$IF_COOLIFY_VOLUME_EXISTS" -eq 0 ]; then echo " - Generating SSH key." ssh-keygen -t ed25519 -a 100 -f /data/coolify/ssh/keys/id.$CURRENT_USER@host.docker.internal -q -N "" -C coolify chown 9999 /data/coolify/ssh/keys/id.$CURRENT_USER@host.docker.internal