From b2f7ebe759fbecc266af980850840cd7c461174e Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 14 Feb 2023 08:23:46 -0500 Subject: [PATCH] Update olivetin.sh tweak --- misc/olivetin.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/misc/olivetin.sh b/misc/olivetin.sh index cfef03a7..c8015572 100644 --- a/misc/olivetin.sh +++ b/misc/olivetin.sh @@ -51,12 +51,10 @@ 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, 2, length($2)-3) }') -wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/OliveTin_linux_amd64.deb +wget -q https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.deb dpkg -i OliveTin_linux_amd64.deb &>/dev/null systemctl enable --now OliveTin &>/dev/null rm OliveTin_linux_amd64.deb -# configuration file path /etc/OliveTin/config.yaml msg_ok "Installed ${APP} on $hostname" msg_ok "Completed Successfully!\n"