From 684861fac1a372ca52f17c1286fb21c945e25f28 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Fri, 23 Jul 2021 18:31:58 +0200 Subject: Fixed condition. Signed-off-by: Georg Pfuetzenreuter --- scripts/sh/deploy_ergo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/sh/deploy_ergo.sh') diff --git a/scripts/sh/deploy_ergo.sh b/scripts/sh/deploy_ergo.sh index 670e0e7..b7486a4 100755 --- a/scripts/sh/deploy_ergo.sh +++ b/scripts/sh/deploy_ergo.sh @@ -4,7 +4,7 @@ echo "Detected $DISTRIB" if [[ ${DISTRIB} = "openSUSE Leap" ]] echo then -if [ ! /opt/ergo ] +if [ ! -d /opt/ergo ] then GOVER=`go version | { read _ _ v _; echo ${v#go}; }` echo "Detected Go $GOVER" -- cgit v1.2.3