From 1a4837e881e82efed65c1a08f410cb26221c30ea Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 17 Dec 2022 09:43:25 -0500 Subject: [PATCH] Update hacs.sh check for PVE --- misc/hacs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/hacs.sh b/misc/hacs.sh index 0c3cd2ad..e48dbf82 100644 --- a/misc/hacs.sh +++ b/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