From 84a66d9a3ca35a347a1e453124b1fcdb053fbd3a Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Tue, 9 Jan 2024 15:37:11 +0100 Subject: [PATCH] Fix broken Debian package (#640) --- gen_zenoh_deb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen_zenoh_deb.sh b/gen_zenoh_deb.sh index 7ca448e8c7..01db379b52 100755 --- a/gen_zenoh_deb.sh +++ b/gen_zenoh_deb.sh @@ -21,7 +21,9 @@ if [ -z "$1" -o -z "$2" ]; then exit 1 fi -VERSION=`echo $1` +# NOTE: cargo-deb v2.0.0 and later will add a "-1" suffix to the version for +# compliance with Debian's packaging standard. +VERSION="$1-1" ARCH=$2 PACKAGE_NAME="zenoh_${VERSION}_${ARCH}"