Commit to make next commit comment epic

This commit is contained in:
Shihaam Abdul Rahman 2021-04-29 15:20:46 +05:00
parent bebe36a497
commit 8c713c8dd3
3 changed files with 1 additions and 23 deletions

View File

@ -29,5 +29,4 @@ chmod +x bml.sh
```
## Bugs
- Throws error and exists on MacOS and WSL \
Solution run: `rm osdetect.sh`
- :)

3
bml.sh
View File

@ -23,7 +23,4 @@ lightgreen=`tput setaf 10`
yellow=`tput setaf 11`
reset=`tput sgr0`
#run osdetect.sh, throw error into void if file not found
source osdetect.sh 2>/dev/null
source readpass.sh

View File

@ -1,18 +0,0 @@
#!/bin/bash
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
then
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}" 1>&2
exit
else
:
fi
source readpass.sh