From 00f69cf843002bcc6f50dc372a9783f75ebcbb70 Mon Sep 17 00:00:00 2001 From: Brian Downs Date: Tue, 21 Jul 2020 14:48:03 -0700 Subject: [PATCH] add sudo to symlink creation calls Signed-off-by: Brian Downs --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b06aee4e8c..145bbc1a7f 100755 --- a/install.sh +++ b/install.sh @@ -494,7 +494,7 @@ download_and_verify() { create_symlinks() { info "creating symlinks..." for bin in ${BASE_DIR}/data/*/bin/*; do - ln -sf "${bin}" "${INSTALL_PATH}"/"$(basename ${bin})" + ${SUDO} ln -sf "${bin}" "${INSTALL_PATH}"/"$(basename ${bin})" done }