From 30175567de7b56647ed057bd2ea5408d8bb302a0 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Mon, 21 Nov 2022 18:49:05 +0100 Subject: [PATCH] Ask for and install work-specific tools and cli for clouds on desire --- .config/dotfiles/setup-machine.sh | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.config/dotfiles/setup-machine.sh b/.config/dotfiles/setup-machine.sh index 24bd004..68482d9 100755 --- a/.config/dotfiles/setup-machine.sh +++ b/.config/dotfiles/setup-machine.sh @@ -19,6 +19,9 @@ else curl -sSL https://apt.enpass.io/keys/enpass-linux.key | sudo tee /etc/apt/trusted.gpg.d/enpass.asc sudo apt-get update sudo apt-get install \ + apt-transport-https \ + ca-certificates \ + gnupg \ git \ wget \ asciidoctor \ @@ -30,6 +33,38 @@ else i3status \ rofi \ enpass + while true + do + echo "" + read -p "Is this installation for work? [Yn] " yn /dev/null + sudo apt-get update && sudo apt-get install google-cloud-cli + break;; + [Nn]*) break;; + *) echo "Please answer yes or no.";; + esac + done else echo Unsupported system exit 1