From 517add017f2e8ce17931cfb2d6a087e89df2e382 Mon Sep 17 00:00:00 2001 From: sem Date: Mon, 5 Sep 2022 13:02:04 +0300 Subject: [PATCH] Utils --- Installers/docker.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Installers/docker.sh b/Installers/docker.sh index 2435e5f..2a435ba 100644 --- a/Installers/docker.sh +++ b/Installers/docker.sh @@ -11,17 +11,21 @@ function option_value() { } function install() { - if [ -f ~/.bash_profile ]; then + if [ -f ~/.bash_profile ]; + then + echo "${C_LGn}Bash_profile exist${RES}" + else + echo "${C_LGn}Make link bash_profile${RES}" ln -s ~/.profile ~/.bash_profile fi cd if ! docker --version; then - echo "upgrade system .." + echo -e "${C_LGn}Upgrade your system ...${RES}" sudo apt update sudo apt upgrade -y - echo "install components" + echo -e "${C_LGn}Install components ...${RES}" sudo apt install curl apt-transport-https ca-certificates gnupg lsb-release -y echo -e "${C_LGn}Docker installation...${RES}"