Skip to content

The open alternative to Salesforce, designed for AI.

fix(one-liner): some echo are missing -e (#4686)

Quentin G538ed9026d5d
diff --git a/install.sh b/install.sh
index 7d03a201c8f..f9d4e6daf2c 100755
--- a/install.sh
+++ b/install.sh
@@ -61,11 +61,11 @@ echo "📁 Creating directory '$dir_name'"
mkdir -p "$dir_name" && cd "$dir_name" || { echo "❌ Failed to create/access directory '$dir_name'"; exit 1; }
# Copy the twenty/packages/twenty-docker/prod/docker-compose.yml file in it
-echo "\t• Copying docker-compose.yml"
+echo -e "\t• Copying docker-compose.yml"
curl -sLo docker-compose.yml https://raw.githubusercontent.com/twentyhq/twenty/$branch/packages/twenty-docker/prod/docker-compose.yml
# Copy twenty/packages/twenty-docker/prod/.env.example to .env
-echo "\t• Setting up .env file"
+echo -e "\t• Setting up .env file"
curl -sLo .env https://raw.githubusercontent.com/twentyhq/twenty/$branch/packages/twenty-docker/prod/.env.example
# Replace TAG=latest by TAG=<latest_release or version input>
@@ -83,7 +83,7 @@ echo "LOGIN_TOKEN_SECRET=$(openssl rand -base64 32)" >>.env
echo "REFRESH_TOKEN_SECRET=$(openssl rand -base64 32)" >>.env
echo "FILE_TOKEN_SECRET=$(openssl rand -base64 32)" >>.env
-echo "\t• .env configuration completed"
+echo -e "\t• .env configuration completed"
port=3000
# Check if command nc is available
@@ -113,7 +113,7 @@ else
echo "🐳 Starting Docker containers..."
docker compose up -d
# Check if port is listening
- echo -n "Waiting for server to start..."
+ echo -n "Waiting for server to be healthy..."
while [ ! $(docker inspect --format='{{.State.Health.Status}}' twenty-server-1) = "healthy" ]; do
echo -n "."
sleep 1