From daa9b78019a9befaf1a2ec3a169578b09718172d Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 18 Dec 2022 06:25:23 -0500 Subject: [PATCH] Update hacore2hacore-data.sh check PVE --- misc/hacore2hacore-data.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/hacore2hacore-data.sh b/misc/hacore2hacore-data.sh index 3f5352e6..28e0997b 100644 --- a/misc/hacore2hacore-data.sh +++ b/misc/hacore2hacore-data.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash clear +if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Run from the Proxmox Shell"; exit; fi while true; do read -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn case $yn in