bml-cli/osdetect.sh

19 lines
269 B
Bash
Raw Normal View History

2021-04-29 15:08:22 +05:00
#!/bin/bash
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
then
echo ${red}WSL Not Supported!${reset}
exit
elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ]
then
echo ${red}MacOS Not Supported!${reset}
exit
else
:
fi
source readpass.sh