mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-11 11:25:08 +00:00
Update homeassistant-core-v5.sh
tweak
This commit is contained in:
parent
19fdc661f5
commit
f4113c4129
@ -74,22 +74,22 @@ function PVE_CHECK() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then
|
if command -v pveversion >/dev/null 2>&1; then
|
||||||
if [[ ! -d /srv/homeassistant ]]; then
|
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
|
||||||
msg_error "No Home Assistant Core Installation Found!";
|
NEXTID=$(pvesh get /cluster/nextid)
|
||||||
exit
|
|
||||||
fi
|
|
||||||
if (whiptail --title "${APP} LXC TOOLS" --yesno "Tools to Initialize, Update and Install HACS. Proceed?" 10 58); then
|
|
||||||
echo "User selected Yes"
|
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
echo -e "⚠ User exited script \n"
|
echo -e "⚠ User exited script \n"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if command -v pveversion >/dev/null 2>&1; then
|
if ! command -v pveversion >/dev/null 2>&1; then
|
||||||
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
|
if [[ ! -d /srv/homeassistant ]]; then
|
||||||
NEXTID=$(pvesh get /cluster/nextid)
|
msg_error "No Home Assistant Core Installation Found!";
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
if (whiptail --title "${APP} LXC SUPPORT" --yesno "Initialize, Update or Install HACS. Proceed?" 10 58); then
|
||||||
|
echo "User selected Support"
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
echo -e "⚠ User exited script \n"
|
echo -e "⚠ User exited script \n"
|
||||||
|
Loading…
Reference in New Issue
Block a user