summaryrefslogtreecommitdiffstats
path: root/scripts/sh/deploy_ergo.sh
diff options
context:
space:
mode:
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"