From 5b7d86686c0f0697ac80efaacdb2a901e3c0cce2 Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Wed, 1 Jun 2022 09:58:37 +0200 Subject: [PATCH] Reproducible hooks: fix version check for libxmlb2 --- .../1005-reproducible-libxmlb2-appstream.hook.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hooks/reproducible/1005-reproducible-libxmlb2-appstream.hook.chroot b/examples/hooks/reproducible/1005-reproducible-libxmlb2-appstream.hook.chroot index 257856c06..84cb6f762 100755 --- a/examples/hooks/reproducible/1005-reproducible-libxmlb2-appstream.hook.chroot +++ b/examples/hooks/reproducible/1005-reproducible-libxmlb2-appstream.hook.chroot @@ -21,7 +21,7 @@ then fi # Don't run if the version of libxmlb2 is sufficiently new -if [ $(dpkg --compare-versions $(dpkg-query --show --showformat '${Version}\n' libxmlb2 | head -1) ge 0.3.7~) ]; +if dpkg --compare-versions $(dpkg-query --show --showformat '${Version}\n' libxmlb2 | head -1) ge 0.3.7~; then exit 0 fi