Update olivetin.sh

pull/1063/head
tteckster 2023-02-12 10:43:40 -05:00 committed by GitHub
parent fce7ef9a1f
commit 2d9cf318f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ EOF
IP=$(hostname -I | awk '{print $1}')
YW=$(echo "\033[33m")
BL=$(echo "\033[36m")
GN=$(echo "\033[1;92m")
CL=$(echo "\033[m")
BFR="\\r\\033[K"
@ -54,6 +55,7 @@ RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest
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
rm OliveTin_linux_amd64.deb
# configuration file path /etc/OliveTin/config.yaml
msg_ok "Installed ${APP} on $hostname"