From 1175f7d236e89668a49fc6c3d5d2f0f038e1ab4c Mon Sep 17 00:00:00 2001 From: Nyx <144965845+nnyyxxxx@users.noreply.github.com> Date: Wed, 18 Sep 2024 20:02:52 -0400 Subject: [PATCH] Fix bashism in docker-setup (#476) Co-authored-by: nnyyxxxx --- tabs/system-setup/6-docker-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tabs/system-setup/6-docker-setup.sh b/tabs/system-setup/6-docker-setup.sh index 7f2a0b3f..43e8a507 100755 --- a/tabs/system-setup/6-docker-setup.sh +++ b/tabs/system-setup/6-docker-setup.sh @@ -9,7 +9,8 @@ choose_installation() { printf "%b\n" "1. ${YELLOW}Docker${RC}" printf "%b\n" "2. ${YELLOW}Docker Compose${RC}" printf "%b\n" "3. ${YELLOW}Both${RC}" - read -p "Enter your choice [1-3]: " CHOICE + printf "Enter your choice [1-3]: " + read -r CHOICE case "$CHOICE" in 1) INSTALL_DOCKER=1; INSTALL_COMPOSE=0 ;;