This commit is contained in:
2022-09-05 13:02:04 +03:00
parent 58407bf90a
commit 517add017f
+7 -3
View File
@@ -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}"