From a073d5c8d3453c3d7d5f79fe0f1b08fc90430dcd Mon Sep 17 00:00:00 2001 From: physk <32438947+physk@users.noreply.github.com> Date: Wed, 19 Apr 2023 20:57:19 +0000 Subject: [PATCH] Fix Darwin path creation --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0d6d627..380be28 100644 --- a/install.sh +++ b/install.sh @@ -352,7 +352,7 @@ function installNativePlaceBinarys () { ;; 'darwin') # Make sure /usr/local/bin exists - if [ -d /usr/local/bin ]; then + if [ ! -d /usr/local/bin ]; then prettyBoxCurrent "Create /usr/local/bin" # shellcheck disable=SC2174 if mkdir -m 0555 -p /usr/local/bin; then @@ -427,7 +427,7 @@ function installNativePlaceBinarys () { ;; 'darwin') # Make sure /usr/local/bin exists - if [ -d /usr/local/bin ]; then + if [ ! -d /usr/local/bin ]; then prettyBoxCurrent "Create /usr/local/bin" # shellcheck disable=SC2174 if mkdir -m 0555 -p /usr/local/bin; then