Proxmox/misc/hacs-core.sh

21 lines
603 B
Bash
Raw Normal View History

2022-09-29 17:00:34 +02:00
#!/usr/bin/env bash
echo -e "\e[1;33m This script will install Home Assistant Community Store (HACS) \e[0m"
while true; do
read -p "Start the HACS Install Script (y/n)?" yn
case $yn in
2022-10-30 02:04:45 +01:00
[Yy]*) break ;;
[Nn]*) exit ;;
*) echo "Please answer yes or no." ;;
2022-09-29 17:00:34 +02:00
esac
done
apt update &>/dev/null
apt install unzip &>/dev/null
cd .homeassistant
wget -O - https://get.hacs.xyz | bash -
# To install HACS run the following from the container (LXC) console
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/hacs-core.sh)"
# Then add the integration in HA