diff --git a/scripts/subinstallers/docker_raspbian.sh b/scripts/subinstallers/docker_raspbian.sh index 29c1350..d4f7405 100755 --- a/scripts/subinstallers/docker_raspbian.sh +++ b/scripts/subinstallers/docker_raspbian.sh @@ -30,7 +30,7 @@ compare_version() { LIBSECCOMP2_VERSION=$(sudo -E apt-cache policy libseccomp2 | egrep ^\ *Inst | awk '{print $2}') -if [ compare_version "$LIBSECCOMP2_VERSION" "<" "2.5.1-1" ]; then +if [ $(compare_version "$LIBSECCOMP2_VERSION" "<" "2.5.1-1") -eq 0 ]; then # this is dumb but the raspbian repo managers aren't impressive pushd . cd /tmp