Fix ubuntu install (#46)
The filename for the deb is versioned like '0.6.4', not 'v0.6.4'.
This commit is contained in:
parent
cbb472bba6
commit
e2edcbf994
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ __atuin_install_arch(){
|
||||||
__atuin_install_ubuntu(){
|
__atuin_install_ubuntu(){
|
||||||
echo "Ubuntu detected"
|
echo "Ubuntu detected"
|
||||||
# TODO: select correct AARCH too
|
# 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)" &&
|
TEMP_DEB="$(mktemp)" &&
|
||||||
wget -O "$TEMP_DEB" $ARTIFACT_URL
|
wget -O "$TEMP_DEB" $ARTIFACT_URL
|
||||||
|
|
Loading…
Reference in a new issue