From 821097eec9ee3314c29ef6adc128a489a7f2d16b Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Sun, 19 Nov 2023 11:31:30 +0100 Subject: [PATCH] Uninstall: lowercase "darwin" on MacOS --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index a0b6ba8..a4cbeb9 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -3,7 +3,7 @@ # Remove line from bashrc and zshrc if present. sed="sed -i" -if [[ $OSTYPE == "Darwin" ]]; then +if [[ $OSTYPE == "Darwin" || $OSTYPE == *"darwin"* ]]; then sed="sed -i ''" fi