Tweak setting of DI_DIR for sanity

This commit is contained in:
Steve McIntyre 2024-09-21 19:25:30 +01:00
parent e7a468b6cc
commit e9b4b3b768
1 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,11 @@ for image in $BOOT_IMAGES; do
fi
done
# Reset this to a sane value
if [ "$DI_DIR" = "$MIRROR/dists/$DI_DIST/main/installer-%ARCH%/current/images" ]; then
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
fi
# Images that are not really required or may be unavailable.
for image in $DISK_IMAGES $EXTRA_DISK_IMAGES; do
if [ ! -e "$image" ]; then