From 92d788ccdf27643c1a7bc02775b48004d8f05a90 Mon Sep 17 00:00:00 2001 From: babe-saleh-mahfoud Date: Mon, 20 May 2024 19:49:23 -0700 Subject: [PATCH] fix: improved error message to provide correct command --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6523508..b29233c 100755 --- a/install.sh +++ b/install.sh @@ -100,7 +100,7 @@ if [ -d "$(install_dir)" ]; then echo "Existing Shorebird installation detected. Overwriting..." rm -rf "$(install_dir)" else - echo >&2 "Error: Existing Shorebird installation detected. Use --force to overwrite." + echo >&2 "Error: Existing Shorebird installation detected.\nTo overwrite, use: curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash -s -- --force" exit 1 fi fi