mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Fix bashism in docker-setup (#476)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
parent
903c915260
commit
1175f7d236
|
@ -9,7 +9,8 @@ choose_installation() {
|
||||||
printf "%b\n" "1. ${YELLOW}Docker${RC}"
|
printf "%b\n" "1. ${YELLOW}Docker${RC}"
|
||||||
printf "%b\n" "2. ${YELLOW}Docker Compose${RC}"
|
printf "%b\n" "2. ${YELLOW}Docker Compose${RC}"
|
||||||
printf "%b\n" "3. ${YELLOW}Both${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
|
case "$CHOICE" in
|
||||||
1) INSTALL_DOCKER=1; INSTALL_COMPOSE=0 ;;
|
1) INSTALL_DOCKER=1; INSTALL_COMPOSE=0 ;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user