From c549c75107693564b9a9e01ab55f2c935231a9dd Mon Sep 17 00:00:00 2001 From: sneak Date: Sun, 16 Feb 2020 08:23:00 -0800 Subject: [PATCH] add main/debian-installer to categories --- Dockerfile | 2 +- mirror/syncubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbf8d13..97534dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV MIRROR_UPDATE_INTERVAL_SECONDS 43200 ENV UBUNTU_MIRROR_ARCHITECTURES amd64 # set to anything but 'false' to mirror source code as well ENV UBUNTU_ENABLE_SOURCE_MIRRORING false -ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse +ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse,main/debian-installer ENV UBUNTU_MIRROR_UPSTREAM archive.ubuntu.com ENV UBUNTU_MIRROR_PROJECTS bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports diff --git a/mirror/syncubuntu.sh b/mirror/syncubuntu.sh index b7ab65d..de9f73d 100755 --- a/mirror/syncubuntu.sh +++ b/mirror/syncubuntu.sh @@ -19,7 +19,7 @@ fi DONE=0 DIDIST="$( - echo "$UBUNTU_MIRROR_PROJECTS" | tr "," "\n" | grep -v "\-" | tr "\n" "," + echo -n "$UBUNTU_MIRROR_PROJECTS" | tr "," "\n" | grep -v "\-" | tr "\n" "," )" while [[ $DONE -eq 0 ]]; do