Update hacs.sh

check for PVE
This commit is contained in:
tteckster 2022-12-17 09:43:25 -05:00 committed by GitHub
parent bc3d30b416
commit 1a4837e881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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