summaryrefslogtreecommitdiffstats
path: root/scripts/sh/deploy_ergo.sh
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2021-07-23 18:31:58 +0200
committerGeorg Pfuetzenreuter2021-07-23 18:31:58 +0200
commit684861fac1a372ca52f17c1286fb21c945e25f28 (patch)
tree3ec49dca64b4da55e1efb8462b18f8b4f044fc22 /scripts/sh/deploy_ergo.sh
parent3ea5e58c3a4429e8ee11002690d62cf1581f53f8 (diff)
downloadsystem-684861fac1a372ca52f17c1286fb21c945e25f28.tar.gz
system-684861fac1a372ca52f17c1286fb21c945e25f28.tar.bz2
system-684861fac1a372ca52f17c1286fb21c945e25f28.zip
Fixed condition.
Signed-off-by: Georg Pfuetzenreuter <georg@lysergic.dev>
Diffstat (limited to 'scripts/sh/deploy_ergo.sh')
-rwxr-xr-xscripts/sh/deploy_ergo.sh2
1 files changed, 1 insertions, 1 deletions
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"