From 6ac65001bffc0baea5c9805559c96ebbf75b17e8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 24 May 2018 02:43:48 -0600 Subject: [PATCH] use sudo for ln to /usr/local --- installer/get.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/get.sh b/installer/get.sh index be4a974..c4f9334 100644 --- a/installer/get.sh +++ b/installer/get.sh @@ -123,7 +123,8 @@ $my_node $GREENLOCK_PATH/bin/greenlock.js EOF chmod a+x $GREENLOCK_PATH/bin/greenlock echo "Creating link to 'greenlock' in /usr/local/bin" -ln -sf $GREENLOCK_PATH/bin/greenlock /usr/local/bin/greenlock +echo "sudo ln -sf $GREENLOCK_PATH/bin/greenlock /usr/local/bin/greenlock" +sudo ln -sf $GREENLOCK_PATH/bin/greenlock /usr/local/bin/greenlock echo "" echo ""