From 93396b2d6a304963f3e8b13a1f9f3336646ef8e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 26 May 2024 13:26:43 +0200 Subject: [PATCH] fix upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5cd96f3..00ddfbb 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,9 +27,9 @@ fi # multi-instance cases break the remaining instances. # So we need to add the delimiters if they are missing # The config will be re-added afterwards -if ! grep -q "begin ${app}" $ssh_dir/config; then +if ! grep -q "begin ${app}" /root/.ssh/config; then # did not find delimiters so removing old configuration - sed -e "/Host ${server}/,+6d" "$ssh_dir/config" -i || true + sed -e "/Host ${server}/,+6d" "/root/.ssh/config" -i || true fi #=================================================