From 8c713c8dd3b1dce9d7c600da954a74b9b7b7cccd Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Thu, 29 Apr 2021 15:20:46 +0500 Subject: [PATCH] Commit to make next commit comment epic --- README.md | 3 +-- bml.sh | 3 --- osdetect.sh | 18 ------------------ 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 osdetect.sh diff --git a/README.md b/README.md index f167ecc..51ef53b 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,4 @@ chmod +x bml.sh ``` ## Bugs -- Throws error and exists on MacOS and WSL \ - Solution run: `rm osdetect.sh` +- :) diff --git a/bml.sh b/bml.sh index 73bb15e..8db0eb5 100755 --- a/bml.sh +++ b/bml.sh @@ -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 diff --git a/osdetect.sh b/osdetect.sh deleted file mode 100644 index de5f508..0000000 --- a/osdetect.sh +++ /dev/null @@ -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 - -