瀏覽代碼

Update trilium-v5.sh

fix syntax error in conditional expression
tteckster 2 年之前
父節點
當前提交
0fdd88a5ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ct/trilium-v5.sh

+ 1 - 1
ct/trilium-v5.sh

@@ -356,7 +356,7 @@ if command -v pveversion >/dev/null 2>&1; then
   install_script
 fi
 
-if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d ! -d /opt/trilium ]]; then
+if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/trilium ]]; then
   msg_error "No ${APP} Installation Found!"
   exit 
 fi