Uninstall: lowercase "darwin" on MacOS

This commit is contained in:
Tobbe Lundberg
2023-11-19 11:31:30 +01:00
parent 5f2d259029
commit 821097eec9

View File

@@ -3,7 +3,7 @@
# Remove line from bashrc and zshrc if present. # Remove line from bashrc and zshrc if present.
sed="sed -i" sed="sed -i"
if [[ $OSTYPE == "Darwin" ]]; then if [[ $OSTYPE == "Darwin" || $OSTYPE == *"darwin"* ]]; then
sed="sed -i ''" sed="sed -i ''"
fi fi