Browse Source

Update olivetin.sh

tteckster 2 years ago
parent
commit
2d9cf318f0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      misc/olivetin.sh

+ 2 - 0
misc/olivetin.sh

@@ -19,6 +19,7 @@ EOF
 
 
 IP=$(hostname -I | awk '{print $1}')
 IP=$(hostname -I | awk '{print $1}')
 YW=$(echo "\033[33m")
 YW=$(echo "\033[33m")
+BL=$(echo "\033[36m")
 GN=$(echo "\033[1;92m")
 GN=$(echo "\033[1;92m")
 CL=$(echo "\033[m")
 CL=$(echo "\033[m")
 BFR="\\r\\033[K"
 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
 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
 systemctl enable --now OliveTin &>/dev/null
 systemctl enable --now OliveTin &>/dev/null
+rm OliveTin_linux_amd64.deb
 # 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"