Create hacs-core.sh

This commit is contained in:
tteckster 2022-09-29 11:00:34 -04:00 committed by GitHub
parent a4fea97ace
commit 0d1970977a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
misc/hacs-core.sh Normal file
View file

@ -0,0 +1,20 @@
#!/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 .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