diff options
Diffstat (limited to 'docs.org')
-rw-r--r-- | docs.org | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -110,12 +110,12 @@ This function verifies that the dependencies are installed. ~Docker~ and ~docker for YAMS to work. #+begin_src bash -check_dependencies() { +check_dependencides() { if command -v "$1" &> /dev/null; then - send_success_message "$1 exists ✅" + send_success_message "$1 exists ✅ " else - echo -e "\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 + 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 |