You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
656 B
21 lines
656 B
3 years ago
|
#!/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
|
||
|
[Yy]* ) break;;
|
||
|
[Nn]* ) exit;;
|
||
|
* ) echo "Please answer yes or no.";;
|
||
|
esac
|
||
|
done
|
||
|
|
||
|
apt update &>/dev/null
|
||
|
apt install unzip &>/dev/null
|
||
|
cd /var/lib/containers/storage/volumes/hass_config/_data
|
||
|
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/podman_hacs.sh)"
|
||
|
# Then add the integration in HA
|