From e3e34254d612b09275b3a87b20b2d32bda870d77 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Jan 2022 14:35:32 +0100 Subject: [PATCH] Update 99-run.sh --- webtop/rootfs/etc/cont-init.d/99-run.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/webtop/rootfs/etc/cont-init.d/99-run.sh b/webtop/rootfs/etc/cont-init.d/99-run.sh index c8618e3d5..5836d7d70 100644 --- a/webtop/rootfs/etc/cont-init.d/99-run.sh +++ b/webtop/rootfs/etc/cont-init.d/99-run.sh @@ -1,9 +1,25 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash +# Add custom repositories + +CUSTOMREPOSITORIES="libreoffice/ppa +ubuntuhandbook1/darktable +mozillateam/ppa +stebbins/handbrake-releases +kritalime/ppa +team-xbmc/ppa +lutris-team/lutris +graphics-drivers/ppa" + +echo "Adding custom repository : " +for repositories in $CUSTOMREPOSITORIES; do +echo "$repositories" +add-apt-repository ppa:$repositories || true +done + # Uprade echo "Updating distribution" -export DEBIAN_FRONTEND=noninteractive apt-get update &>/dev/null apt-get -y upgrade >/dev/null || true