From fce7ef9a1f53fea312249543071221358948b3e7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 12 Feb 2023 10:41:12 -0500 Subject: [PATCH] Update olivetin.sh --- misc/olivetin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/olivetin.sh b/misc/olivetin.sh index 69a884b9..da7f19e5 100644 --- a/misc/olivetin.sh +++ b/misc/olivetin.sh @@ -50,7 +50,7 @@ function msg_ok() { } msg_info "Installing ${APP}" -RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/OliveTin_linux_amd64.deb dpkg -i OliveTin_linux_amd64.deb &>/dev/null systemctl enable --now OliveTin &>/dev/null