mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 00:18:59 +01:00
Delete hacs.sh
prune
This commit is contained in:
parent
2f6cf1addc
commit
ac4877334e
21
misc/hacs.sh
21
misc/hacs.sh
@ -1,21 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Run from the Proxmox Shell"; exit; fi
|
||||
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/docker/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/hacs.sh)"
|
||||
# Then add the integration in HA
|
Loading…
Reference in New Issue
Block a user