mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 17:46:00 +02:00
Update 80-configuration.sh
This commit is contained in:
@@ -1,14 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# 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
|
# Uprade
|
||||||
echo "Updating distribution"
|
echo "Updating distribution"
|
||||||
apk update &>/dev/null || apt-get update &>/dev/null || true
|
apk update &>/dev/null || apt-get update &>/dev/null || true
|
||||||
|
|||||||
Reference in New Issue
Block a user