From c007cb04f0b8d7df6d5c9092c7237e2b274127ca Mon Sep 17 00:00:00 2001 From: liorj-orca <96177663+liorj-orca@users.noreply.github.com> Date: Mon, 29 Aug 2022 15:51:04 +0300 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5aeba2b..412fa02 100644 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ execute() { hash_sha256_verify "${tmpdir}/${TARBALL}" "${tmpdir}/${CHECKSUM}" srcdir="${tmpdir}" (cd "${tmpdir}" && untar "${TARBALL}") - install -d -m 775 "${BINDIR}" + test ! -d "${BINDIR}" && install -d "${BINDIR}" binexe="orca-cli" if [ "$OS" = "windows" ]; then binexe="${binexe}.exe"