浏览代码

Update homarr.sh

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

+ 2 - 0
ct/homarr.sh

@@ -53,6 +53,8 @@ function default_settings() {
 function update_script() {
 function update_script() {
 header_info
 header_info
 if [[ ! -d /opt/homarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 if [[ ! -d /opt/homarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
+msg_error "There is currently no update path available."
+exit
 msg_info "Updating $APP"
 msg_info "Updating $APP"
 systemctl stop homarr
 systemctl stop homarr
 cd /opt/homarr
 cd /opt/homarr