From 64e845e6e8c1f99f662507e103f775e6f4cadbf9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 13 Nov 2021 13:15:04 -0500 Subject: [PATCH] Add files via upload --- hacs.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hacs.sh diff --git a/hacs.sh b/hacs.sh new file mode 100644 index 00000000..d8c6a7c9 --- /dev/null +++ b/hacs.sh @@ -0,0 +1,18 @@ +#!/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/docker/volumes/hass_config/_data +wget -O - https://get.hacs.xyz | bash - + +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/hacs.sh)" \ No newline at end of file