Skip to content

Commit

Permalink
Uninstall: lowercase "darwin" on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Nov 19, 2023
1 parent 5f2d259 commit 821097e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 821097e

Please sign in to comment.