summaryrefslogtreecommitdiffstats
path: root/web/update
diff options
context:
space:
mode:
Diffstat (limited to 'web/update')
-rwxr-xr-xweb/update7
1 files changed, 5 insertions, 2 deletions
diff --git a/web/update b/web/update
index 2575031..cd2d1e1 100755
--- a/web/update
+++ b/web/update
@@ -46,7 +46,7 @@ case "${MODE}" in
graograman)
#UPSTREAM_DISTRIBUTIONS="bookworm bookworm-updates bookworm-proposed-updates"
- UPSTREAM_DISTRIBUTIONS="sid experimental"
+ UPSTREAM_DISTRIBUTIONS="sid"
DOWNSTREAM_DISTRIBUTION="graograman"
DOWNSTREAM_MIRROR="https://apt.progress-linux.org/packages"
DOWNSTREAM_TAG="progress"
@@ -139,7 +139,10 @@ Download_upstream_indices ()
;;
*)
- wget -q -O - "http://security.debian.org/dists/${DISTRIBUTION}/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz" | xz -d >> "upstream.${MODE}.binaries"
+ if wget -q -O /dev/null "http://security.debian.org/dists/${DISTRIBUTION}/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz"
+ then
+ wget -q -O - "http://security.debian.org/dists/${DISTRIBUTION}/updates/${SECTION}/binary-${ARCHITECTURE}/Packages.xz" | xz -d >> "upstream.${MODE}.binaries"
+ fi
;;
esac
done