Improved the docker installation part
This commit is contained in:
parent
abbeba2611
commit
8f7962aa3f
@ -38,13 +38,14 @@ check_dependencides() {
|
||||
if command -v $1 &> /dev/null; then
|
||||
send_success_message "$1 exists ✅ "
|
||||
else
|
||||
echo -e $(printf "\e[31m "⚠️ You need to have \"$1\" installed and in your PATH! ⚠️"\e[0m")
|
||||
echo -e $(printf "\e[31m ⚠️ $1 not found! ⚠️\e[0m")
|
||||
read -p "Do you want YAMS to install docker and docker-compose? IT ONLY WORKS ON DEBIAN AND UBUNTU! [y/N]: " install_docker
|
||||
install_docker=${install_docker:-"n"}
|
||||
|
||||
if [ $install_docker == "y" ]; then
|
||||
echo
|
||||
read -p "When docker finishes the installation, run ./install again! Press [ENTER] to continue..."
|
||||
echo "🤔 When docker finishes the installation, run ./install again! 🧠"
|
||||
read -p "Press [ENTER] to continue..."
|
||||
bash ./docker.sh
|
||||
else
|
||||
send_error_message "Install docker and docker-compose and come back later!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user