mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Initial release
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user