Initial release

This commit is contained in:
aptalca
2022-12-18 14:02:25 -05:00
parent 6745950323
commit ed36fab74c
26 changed files with 41 additions and 132 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/with-contenv bash
if [ -d /config/custom_components/hacs ]; then
echo "**** HACS already installed, skipping ****"
else
echo "**** Installing HACS ****"
curl -o /tmp/hacs.zip \
-fL "https://github.com/hacs/integration/releases/latest/download/hacs.zip"
mkdir -p /config/custom_components/hacs
unzip /tmp/hacs.zip -d /config/custom_components/hacs
chown abc:abc /config/custom_components
chown -R abc:abc /config/custom_components/hacs
rm -rf /tmp/hacs.zip
fi