Fixed condition.
Signed-off-by: Georg Pfuetzenreuter <georg@lysergic.dev>
This commit is contained in:
parent
3ea5e58c3a
commit
684861fac1
@ -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"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ ! /opt/ergo ]
|
||||
if [ ! -d /opt/ergo ]
|
||||
echo
|
||||
then
|
||||
read -p "Remove Ergo? This will kill running Ergo services and cause data loss. " -n 1 -r
|
||||
|
Loading…
Reference in New Issue
Block a user