From 7e8fc6d6b3ba33c5acd53042ae8ebe00010b040b Mon Sep 17 00:00:00 2001
From: Arnaud Rebillout <arnaudr@kali.org>
Date: Tue, 4 Apr 2023 15:01:01 +0700
Subject: [PATCH] Bump debian-cd requirement to 3.1.36

This is in preparation for next commit
---
 build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index 14a2bcc..61e8c31 100755
--- a/build.sh
+++ b/build.sh
@@ -246,8 +246,8 @@ case "$IMAGE_TYPE" in
 		fi
 
 		ver_debian_cd=$(dpkg-query -f '${Version}' -W debian-cd)
-		if dpkg --compare-versions "$ver_debian_cd" lt 3.1.28~kali1; then
-			echo "ERROR: You need debian-cd (>= 3.1.28~kali1), you have $ver_debian_cd" >&2
+		if dpkg --compare-versions "$ver_debian_cd" lt 3.1.36; then
+			echo "ERROR: You need debian-cd (>= 3.1.36), you have $ver_debian_cd" >&2
 			exit 1
 		fi
 		debug "ver_debian_cd: $ver_debian_cd"