Forráskód Böngészése

Update hacs-core.sh

check for PVE
tteckster 2 éve
szülő
commit
88647eee74
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      misc/hacs-core.sh

+ 1 - 0
misc/hacs-core.sh

@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
 #!/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"
 echo -e "\e[1;33m This script will install Home Assistant Community Store (HACS)  \e[0m"
 
 
 while true; do
 while true; do