浏览代码

Update crowdsec.sh

make not installable on Proxmox
tteckster 2 年之前
父节点
当前提交
0c88e26b0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/crowdsec.sh

+ 1 - 1
misc/crowdsec.sh

@@ -27,7 +27,7 @@ function error_exit() {
     echo -e "$flag $msg" 1>&2
     exit $EXIT
 }
-
+if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Can't Install on Proxmox "; fi
 while true; do
     read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
     case $yn in