Remove WSL and MacOS support
This commit is contained in:
parent
1bf47be2d7
commit
bebe36a497
@ -20,9 +20,6 @@ BML CLI written in Bash. This project is currently under development and a lot o
|
|||||||
### Termux
|
### Termux
|
||||||
`pkg install curl jq ncurses-utils`
|
`pkg install curl jq ncurses-utils`
|
||||||
|
|
||||||
## Bugs
|
|
||||||
- :)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```
|
```
|
||||||
git clone https://github.com/shihaamabr/bml-cli
|
git clone https://github.com/shihaamabr/bml-cli
|
||||||
@ -30,3 +27,7 @@ cd bml-cli
|
|||||||
chmod +x bml.sh
|
chmod +x bml.sh
|
||||||
./bml.sh
|
./bml.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Bugs
|
||||||
|
- Throws error and exists on MacOS and WSL \
|
||||||
|
Solution run: `rm osdetect.sh`
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
|
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
|
||||||
then
|
then
|
||||||
echo ${red}WSL Not Supported!${reset}
|
echo "${red}WSL Not Supported!${reset}" 1>&2
|
||||||
exit
|
exit
|
||||||
elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ]
|
elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ]
|
||||||
then
|
then
|
||||||
echo ${red}MacOS Not Supported!${reset}
|
echo "${red}MacOS Not Supported!${reset}" 1>&2
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
:
|
:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user