From 2d02fda50a5a627aeb452225af88fa48aca8ab41 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Fri, 23 Jul 2021 18:26:54 +0200 Subject: Ergo deployment OS and existing installation check. Signed-off-by: Georg Pfuetzenreuter --- scripts/sh/remove_ergo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/sh/remove_ergo.sh') diff --git a/scripts/sh/remove_ergo.sh b/scripts/sh/remove_ergo.sh index c9af4de..0634946 100755 --- a/scripts/sh/remove_ergo.sh +++ b/scripts/sh/remove_ergo.sh @@ -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 -- cgit v1.2.3