Update ha_autoapps.sh

This commit is contained in:
Alexandre
2025-07-17 08:04:12 +02:00
committed by GitHub
parent 84ed2b5982
commit 332d9b1935

View File

@@ -20,12 +20,7 @@ if ! command -v curl >/dev/null 2>/dev/null; then
fi
# Call apps installer script if needed
if [ ! -f /ha_automatic_packages.sh ]; then
if ! curl -f -L -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automatic_packages.sh" --output /ha_automatic_packages.sh; then
echo "Failed to download the file" >&2
exit 1
fi
fi
curl -f -L -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automatic_packages.sh" --output /ha_automatic_packages.sh
chmod 777 /ha_automatic_packages.sh
eval /./ha_automatic_packages.sh "${PACKAGES:-}"