From 4e3135d0d53623f83a49178ad49da3516e360fdb Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Sat, 8 May 2021 11:01:12 -0400 Subject: [PATCH] syntax --- scripts/subinstallers/docker_raspbian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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