From e830aef3793640c8068e927d8218af8f0f93eee2 Mon Sep 17 00:00:00 2001 From: osconlab <129285747+osconlab@users.noreply.github.com> Date: Sun, 2 Apr 2023 21:25:58 +0200 Subject: [PATCH] Update default.sh --- default.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/default.sh b/default.sh index e785035..0abdb5f 100644 --- a/default.sh +++ b/default.sh @@ -1,2 +1,10 @@ apt update && sudo apt upgrade -y apt install htop curl -y +while true; do + read -p "Do you wish to install docker" yn + case $yn in + [Yy]* ) ./docker.sh; break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac +done