From cb8bd8b1c3b3d8614635535c5a7940360149a56f Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Tue, 21 Feb 2023 16:06:42 +0700 Subject: [PATCH] Bump live-build requirement (again) Was missing the epoch, so it didn't trigger --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f10ef66..14200bf 100755 --- a/build.sh +++ b/build.sh @@ -227,8 +227,8 @@ case "$IMAGE_TYPE" in fi ver_live_build=$(dpkg-query -f '${Version}' -W live-build) - if dpkg --compare-versions "$ver_live_build" lt "20230131+kali3"; then - echo "ERROR: You need live-build (>= 20230131+kali3), you have $ver_live_build" >&2 + if dpkg --compare-versions "$ver_live_build" lt "1:20230131+kali3"; then + echo "ERROR: You need live-build (>= 1:20230131+kali3), you have $ver_live_build" >&2 exit 1 fi debug "ver_live_build: $ver_live_build"