浏览代码

Update olivetin.sh

tteckster 2 年之前
父节点
当前提交
2d9cf318f0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      misc/olivetin.sh

+ 2 - 0
misc/olivetin.sh

@@ -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"