From: AJ ONeal Date: Wed, 29 Apr 2020 20:00:57 +0000 (+0000) Subject: update OS for macos X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=commitdiff_plain;h=ca10f81a9092eed941181db74212b2b8e5813004 update OS for macos --- diff --git a/node/node.bash b/node/node.bash index 13d379d..2799e04 100644 --- a/node/node.bash +++ b/node/node.bash @@ -78,6 +78,10 @@ NODE_OS="$(echo $WEBI_TAB | cut -d ',' -f 5)" ######### # WEBI_ARCH uses only slightly different names from NODE_ARCH +NODE_OS="$(echo $WEBI_TAB | cut -d ',' -f 5)" +if [ "macos" == "$NODE_OS" ]; then + NODE_OS="darwin" +fi NODE_ARCH="$(echo $WEBI_TAB | cut -d ',' -f 6)" if [ "amd64" == "$NODE_ARCH" ]; then NODE_ARCH="x64"