소스 검색

Update cronicle.sh

remove unexpected token
tteckster 2 년 전
부모
커밋
7987b8697e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ct/cronicle.sh

+ 1 - 1
ct/cronicle.sh

@@ -62,7 +62,7 @@ msg_info "Updating ${APP}"
 /opt/cronicle/bin/control.sh upgrade &>/dev/null
 /opt/cronicle/bin/control.sh upgrade &>/dev/null
 msg_ok "Updated ${APP}"
 msg_ok "Updated ${APP}"
 exit
 exit
-fi
+
 if [ "$UPD" == "2" ]; then
 if [ "$UPD" == "2" ]; then
 LATEST=$(curl -sL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
 LATEST=$(curl -sL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
 IP=$(hostname -I | awk '{print $1}')
 IP=$(hostname -I | awk '{print $1}')