Explorar o código

Update hacs.sh

check for PVE
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
1a4837e881
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      misc/hacs.sh

+ 1 - 0
misc/hacs.sh

@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Can't Run from the Proxmox Shell"; exit; fi
 echo -e "\e[1;33m This script will install Home Assistant Community Store (HACS)  \e[0m"
 
 while true; do