summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:42:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:42:58 +0000
commit60c7b5be77960bbdf0770f33fcfd789b20bac329 (patch)
treef293000dd42923f8c1fc54382c41929052c0854b
parentUpdating. (diff)
downloadprogress-linux-tools-60c7b5be77960bbdf0770f33fcfd789b20bac329.tar.xz
progress-linux-tools-60c7b5be77960bbdf0770f33fcfd789b20bac329.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xweb/update8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/update b/web/update
index bd2c7a3..fe5fcc9 100755
--- a/web/update
+++ b/web/update
@@ -131,7 +131,7 @@ Download_upstream_indices ()
do
case "${DISTRIBUTION}" in
*-security)
- if wget -q -O /dev/null "${UPSTREAM_MIRROR_SECURITY}/dists/${DISTRIBUTION}/updates/Release"
+ if wget -q -O /dev/null "${UPSTREAM_MIRROR_SECURITY}/dists/$(echo ${DISTRIBUTION} | sed -e 's|-security||')/updates/Release"
then
for SECTION in ${UPSTREAM_SECTIONS}
do
@@ -141,13 +141,13 @@ Download_upstream_indices ()
case "${ARCHITECTURE}" in
source)
- wget -q -O - "${UPSTREAM_MIRROR_SECURITY}/dists/${DISTRIBUTION}/updates/${SECTION}/${ARCHITECTURE}/Sources.xz" | xz -d >> "upstream.${MODE}.sources"
+ wget -q -O - "${UPSTREAM_MIRROR_SECURITY}/dists/$(echo ${DISTRIBUTION} | sed -e 's|-security||')/updates/${SECTION}/${ARCHITECTURE}/Sources.xz" | xz -d >> "upstream.${MODE}.sources"
;;
*)
- if wget -q -O /dev/null "${UPSTREAM_MIRROR_SECURITY}/dists/${DISTRIBUTION}/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz"
+ if wget -q -O /dev/null "${UPSTREAM_MIRROR_SECURITY}/dists/$(echo ${DISTRIBUTION} | sed -e 's|-security||')/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz"
then
- wget -q -O - "${UPSTREAM_MIRROR_SECURITY}/dists/${DISTRIBUTION}/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz" | xz -d >> "upstream.${MODE}.binaries"
+ wget -q -O - "${UPSTREAM_MIRROR_SECURITY}/dists/$(echo ${DISTRIBUTION} | sed -e 's|-security||')/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz" | xz -d >> "upstream.${MODE}.binaries"
fi
;;
esac