Update 80-configuration.sh

This commit is contained in:
Alexandre
2022-02-07 12:01:34 +01:00
committed by GitHub
parent 1ed9fe5e3e
commit 2391f40a44

View File

@@ -1,14 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# Set repositories
{ echo "https://dl-cdn.alpinelinux.org/alpine/latest-stable/community";
echo "https://dl-cdn.alpinelinux.org/alpine/latest-stable/main";
echo "https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases";
echo "https://alpine.global.ssl.fastly.net/alpine/latest-stable/community";
echo "https://alpine.global.ssl.fastly.net/alpine/latest-stable/main";
echo "https://alpine.global.ssl.fastly.net/alpine/latest-stable/releases"; } > /etc/apk/repositories
# Uprade
echo "Updating distribution"
apk update &>/dev/null || apt-get update &>/dev/null || true