diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/update | 55 |
1 files changed, 29 insertions, 26 deletions
@@ -31,9 +31,11 @@ case "${MODE}" in ;; fuchur) - UPSTREAM_DISTRIBUTIONS="bullseye bullseye-updates bullseye-proposed-updates" + #UPSTREAM_DISTRIBUTIONS="bullseye bullseye-security bullseye-updates bullseye-proposed-updates" + UPSTREAM_DISTRIBUTIONS="bullseye" DOWNSTREAM_DISTRIBUTION="fuchur" - DOWNSTREAM_DISTRIBUTIONS="fuchur fuchur-security fuchur-updates" + #DOWNSTREAM_DISTRIBUTIONS="fuchur fuchur-security fuchur-updates" + DOWNSTREAM_DISTRIBUTIONS="fuchur" DOWNSTREAM_MIRROR="https://apt.progress-linux.org/packages" DOWNSTREAM_TAG="progress" ;; @@ -47,9 +49,11 @@ case "${MODE}" in ;; graograman) - UPSTREAM_DISTRIBUTIONS="bookworm bookworm-updates bookworm-proposed-updates" + #UPSTREAM_DISTRIBUTIONS="bookworm bookworm-security bookworm-updates bookworm-proposed-updates" + UPSTREAM_DISTRIBUTIONS="bookworm" DOWNSTREAM_DISTRIBUTION="graograman" - DOWNSTREAM_DISTRIBUTIONS="graograman graograman-security graograman-updates" + #DOWNSTREAM_DISTRIBUTIONS="graograman graograman-security graograman-updates" + DOWNSTREAM_DISTRIBUTIONS="graograman" DOWNSTREAM_MIRROR="https://apt.progress-linux.org/packages" DOWNSTREAM_TAG="progress" ;; @@ -128,10 +132,7 @@ Download_upstream_indices () for DISTRIBUTION in ${UPSTREAM_DISTRIBUTIONS} do case "${DISTRIBUTION}" in - *-*) - ;; - - *) + *-security) if wget -q -O /dev/null "${UPSTREAM_MIRROR_SECURITY}/dists/${DISTRIBUTION}/updates/Release" then for SECTION in ${UPSTREAM_SECTIONS} @@ -177,25 +178,27 @@ Download_upstream_indices () done fi ;; - esac - for SECTION in ${UPSTREAM_SECTIONS} - do - for ARCHITECTURE in ${ARCHITECTURES} - do - echo -n "." - - case "${ARCHITECTURE}" in - source) - wget -q -O - "${UPSTREAM_MIRROR}/dists/${DISTRIBUTION}/${SECTION}/${ARCHITECTURE}/Sources.xz" | xz -d >> "upstream.${MODE}.sources" - ;; - - *) - wget -q -O - "${UPSTREAM_MIRROR}/dists/${DISTRIBUTION}/${SECTION}/binary-${ARCHITECTURE}/Packages.xz" | xz -d >> "upstream.${MODE}.binaries" - ;; - esac - done - done + *) + for SECTION in ${UPSTREAM_SECTIONS} + do + for ARCHITECTURE in ${ARCHITECTURES} + do + echo -n "." + + case "${ARCHITECTURE}" in + source) + wget -q -O - "${UPSTREAM_MIRROR}/dists/${DISTRIBUTION}/${SECTION}/${ARCHITECTURE}/Sources.xz" | xz -d >> "upstream.${MODE}.sources" + ;; + + *) + wget -q -O - "${UPSTREAM_MIRROR}/dists/${DISTRIBUTION}/${SECTION}/binary-${ARCHITECTURE}/Packages.xz" | xz -d >> "upstream.${MODE}.binaries" + ;; + esac + done + done + ;; + esac done echo " done." |