From f35b9173623a5ccb812c102fad320fbd92ef7ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Fri, 29 May 2026 15:54:45 +0200 Subject: [PATCH] Export the Gum variables to make them work. Added descriptive text. --- script/deploy.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/script/deploy.sh b/script/deploy.sh index 796796b..24eaee5 100755 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -110,7 +110,8 @@ setup_ssh() { - You are under a Man-In-The-Middle attack - Other - The script $(gum style --bold "cannot continue") without the correct fingerprint installed.\n" + The script $(gum style --bold "cannot continue") without the correct fingerprint installed. + If you are unsure, it is always better to check manually.\n" gum confirm "Remove the old fingerprint and accept the new one ?" || { echo -e "\n\n ❌ Exiting."; exit 22; } sed -i '/${LIVE_TARGET_IP}/d' "~/.ssh/known_hosts" @@ -788,11 +789,11 @@ PORT_REGEX='^[0-9]{1,5}$' SSH_KEY_REGEX='^ssh-[a-z0-9]+ [A-Za-z0-9+/]+.*' PHONE_REGEX='^\+[1-9][0-9]{7,14}$' -FOREGROUND="212" -GUM_INPUT_PADDING="1 1" -GUM_INPUT_HEADER_FOREGROUND="212" -GUM_INPUT_CURSOR_FOREGROUND="212" -GUM_INPUT_TIMEOUT="3600" +export FOREGROUND="212" +export GUM_INPUT_PADDING="1 1" +export GUM_INPUT_HEADER_FOREGROUND="212" +export GUM_INPUT_CURSOR_FOREGROUND="212" +export GUM_INPUT_TIMEOUT="3600" # --- DEFAULTS VARIABLES ---<