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