diff --git a/README.md b/README.md index dc21e47..f167ecc 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,6 @@ BML CLI written in Bash. This project is currently under development and a lot o ### Termux `pkg install curl jq ncurses-utils` -## Bugs -- :) - ## Installation ``` git clone https://github.com/shihaamabr/bml-cli @@ -30,3 +27,7 @@ cd bml-cli chmod +x bml.sh ./bml.sh ``` + +## Bugs +- Throws error and exists on MacOS and WSL \ + Solution run: `rm osdetect.sh` diff --git a/osdetect.sh b/osdetect.sh index 26a29ee..de5f508 100644 --- a/osdetect.sh +++ b/osdetect.sh @@ -3,11 +3,11 @@ if [ "uname -r | grep -oE microsoft" = "microsoft" ] then - echo ${red}WSL Not Supported!${reset} + echo "${red}WSL Not Supported!${reset}" 1>&2 exit elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ] then - echo ${red}MacOS Not Supported!${reset} + echo "${red}MacOS Not Supported!${reset}" 1>&2 exit else :