summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:11:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:11:28 +0000
commit512fa7af149954f8c32b775ef93ee9beaa094df3 (patch)
tree4ac8c22c6d01bcc022636925372cccfd3b718b43
parentUpdating. (diff)
downloadprogress-linux-tools-512fa7af149954f8c32b775ef93ee9beaa094df3.tar.xz
progress-linux-tools-512fa7af149954f8c32b775ef93ee9beaa094df3.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xweb/update55
1 files changed, 29 insertions, 26 deletions
diff --git a/web/update b/web/update
index e53b14a..16b9818 100755
--- a/web/update
+++ b/web/update
@@ -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."