From bebe36a4977d19e907e3a0489aee0320fa933162 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Thu, 29 Apr 2021 15:17:09 +0500 Subject: [PATCH] Remove WSL and MacOS support --- README.md | 7 ++++--- osdetect.sh | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) 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 :