From c01b4b24c76fc7fbd13b75aa7d6a696677dc40c8 Mon Sep 17 00:00:00 2001 From: Mattchis Date: Thu, 27 Jul 2023 15:14:52 -0600 Subject: [PATCH] Added go target install directory --- rmmagent-mac.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rmmagent-mac.sh b/rmmagent-mac.sh index 9625e5a..d409c1f 100644 --- a/rmmagent-mac.sh +++ b/rmmagent-mac.sh @@ -111,6 +111,7 @@ function go_install() { ;; esac + sudo mkdir /usr/local/go sudo installer -pkg /tmp/golang.pkg -target /usr/local/go sudo rm /tmp/golang.pkg