From 0c71b83fa5375eb5786787d0e3406778a4b567ca Mon Sep 17 00:00:00 2001 From: tigerbot Date: Mon, 19 Jun 2017 13:11:46 -0600 Subject: [PATCH] fixed install problem on mac OS --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 66e4430..a0e6f5a 100644 --- a/install.sh +++ b/install.sh @@ -212,7 +212,10 @@ find /opt/goldilocks -type d -exec $sudo_cmd chmod ug+s {} \; # Uninstall dap_dl "https://git.daplie.com/Daplie/goldilocks.js/raw/master/uninstall.sh" "./goldilocks-uninstall" $sudo_cmd chmod 755 "./goldilocks-uninstall" -$sudo_cmd chown root:root "./goldilocks-uninstall" +# OS X +$sudo_cmd chown root:wheel "./goldilocks-uninstall" || true +# Linux +$sudo_cmd chown root:root "./goldilocks-uninstall" || true $sudo_cmd mv "./goldilocks-uninstall" "/usr/local/bin/uninstall-goldilocks" # Install Service