Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 83f2929

Browse files
committed
fix shell
1 parent 9db9d9a commit 83f2929

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ command -v curl >/dev/null 2>&1 || { logF "curl is required"; }
8888

8989
# Set URI to download
9090
assetUri="${githubUrl}/${owner}/${repo}/releases/download/${version}/${fileName}"
91-
if [ "${version}" == "latest" ]; then
91+
if [[ "${version}" == "latest" ]]; then
9292

9393
asset=$(
9494
curl -sSf ${githubUrl}/${owner}/${repo}/releases |

0 commit comments

Comments
 (0)