Update install.sh

This commit is contained in:
2025-10-15 19:41:05 +00:00
parent 5b58cde897
commit 60b08772ce

View File

@@ -1,11 +1,11 @@
#!/bin/bash
OS_TYPE = $(uname -s)
isLinux = "$OS_TYPE" == "Linux"
isMacOs = "$OS_TYPE" == "Darwin"
if [ $isLinux ]; then
OS_TYPE = "$(uname -s)"
isLinux = ${OS_TYPE} == "Linux"
isMacOs = ${OS_TYPE} == "Darwin"
if [ ${isLinux} ]; then
echo "Running on Linux"
elif [ $isMacOs ]; then
elif [ ${isMacOs} ]; then
echo "Running on MacOS"
else
echo "Unsupported OS family: $OS_TYPE"