From e2edcbf9941491b44996b0fcf6c6aecd7365a2c0 Mon Sep 17 00:00:00 2001 From: Ian Smith Date: Fri, 7 May 2021 11:06:43 -0700 Subject: [PATCH] Fix ubuntu install (#46) The filename for the deb is versioned like '0.6.4', not 'v0.6.4'. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 70155c4..f1b569d 100755 --- a/install.sh +++ b/install.sh @@ -50,7 +50,7 @@ __atuin_install_arch(){ __atuin_install_ubuntu(){ echo "Ubuntu detected" # TODO: select correct AARCH too - ARTIFACT_URL="https://github.com/ellie/atuin/releases/download/$LATEST_VERSION/atuin_${LATEST_VERSION}_amd64.deb" + ARTIFACT_URL="https://github.com/ellie/atuin/releases/download/$LATEST_VERSION/atuin_${LATEST_VERSION//v/}_amd64.deb" TEMP_DEB="$(mktemp)" && wget -O "$TEMP_DEB" $ARTIFACT_URL