diff --git a/bin/build-image-distrobuilder b/bin/build-image-distrobuilder index 3edc1f57..64fb275e 100755 --- a/bin/build-image-distrobuilder +++ b/bin/build-image-distrobuilder @@ -100,8 +100,12 @@ apt-get install --yes --no-install-recommends \ unzip \ xz-utils \ zstd -apt-get install --yes --no-install-recommends -t ${DISTRO}-backports \ - debootstrap +if [ "${DISTRO}" = "bookworm" ]; then + apt-get install --yes --no-install-recommends -t ${DISTRO}-backports \ + debootstrap +else + apt-get install --yes --no-install-recommends debootstrap +fi apt-get clean # Install distrobuilder