Update olivetin.sh

This commit is contained in:
tteckster 2023-02-12 10:37:16 -05:00 committed by GitHub
parent 8f3e3f5248
commit 9e82e8c963
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,6 @@ 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, 3, length($2)-4) }')
wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/OliveTin_linux_amd64.deb wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/OliveTin_linux_amd64.deb
dpkg -i OliveTin_linux_amd64.deb &>/dev/null dpkg -i OliveTin_linux_amd64.deb &>/dev/null
rm OliveTin_linux_amd64.deb
systemctl enable --now OliveTin &>/dev/null systemctl enable --now OliveTin &>/dev/null
# configuration file path /etc/OliveTin/config.yaml # configuration file path /etc/OliveTin/config.yaml
msg_ok "Installed ${APP} on $hostname" msg_ok "Installed ${APP} on $hostname"