From ae9e8e2f648016cc62525f497716aced1afd6e54 Mon Sep 17 00:00:00 2001 From: Carlos Martino Date: Fri, 27 Mar 2026 13:44:11 -0300 Subject: [PATCH] Update setup --- setup_homelogic.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/setup_homelogic.sh b/setup_homelogic.sh index 0f877b5..740e713 100755 --- a/setup_homelogic.sh +++ b/setup_homelogic.sh @@ -41,7 +41,16 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too # Setup Tailscale echo '### Setting up Tailscale ###' -if ! command -v tailscale > /dev/null 2>&1; then - curl -fsSL https://tailscale.com/install.sh | sh - sudo tailscale up -fi +printf "Do you want to install and setup Tailscale? [Y/n] " +read choice +case "$choice" in + n|N|no|No|NO ) + echo "Skipping Tailscale setup." + ;; + * ) + if ! command -v tailscale > /dev/null 2>&1; then + curl -fsSL https://tailscale.com/install.sh | sh + sudo tailscale up + fi + ;; +esac