From 4509406b0c623c0dc0f238ba8a2a14e5b847e304 Mon Sep 17 00:00:00 2001 From: Raghav Vashisht Date: Sun, 23 Nov 2025 18:45:07 +0530 Subject: [PATCH] fix: each msg_info must have msg_ok --- install/ente-install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install/ente-install.sh b/install/ente-install.sh index c8e27bbcf..b1f2cb8ab 100644 --- a/install/ente-install.sh +++ b/install/ente-install.sh @@ -80,16 +80,12 @@ cat <>~/.bashrc export ENTE_CLI_SECRETS_PATH=/opt/ente/cli/dist/secrets.txt export PATH="/opt/ente/cli/dist:$PATH" EOF -msg_ok "Exported Ente CLI paths" -# remove .ente txt file $STD rm ~/.ente $STD mkdir -p ~/.ente cat <~/.ente/config.yaml endpoint: api: http://localhost:8080 EOF -msg_ok "Created Ente CLI config.yaml" - msg_ok "Configured Ente CLI" msg_info "Building Museum (server)" @@ -165,10 +161,12 @@ if [[ -z "$backend_url" ]]; then # Default to local IP if user doesn't provide one LOCAL_IP=$(hostname -I | awk '{print $1}') ENTE_BACKEND_URL="http://$LOCAL_IP:8080" - msg_info "No URL provided, using local IP: $ENTE_BACKEND_URL\n" + msg_info "No URL provided" + msg_ok "using local IP: $ENTE_BACKEND_URL\n" else ENTE_BACKEND_URL="$backend_url" - msg_info "Using provided URL: $ENTE_BACKEND_URL\n" + msg_info "URL provided" + msg_ok "Using provided URL: $ENTE_BACKEND_URL\n" fi # Prompt for albums URL @@ -176,10 +174,12 @@ read -r -p "Enter the public URL for Ente albums (e.g., https://albums.ente.your if [[ -z "$albums_url" ]]; then LOCAL_IP=$(hostname -I | awk '{print $1}') ENTE_ALBUMS_URL="http://$LOCAL_IP:3002" - msg_info "No URL provided, using local IP: $ENTE_ALBUMS_URL\n" + msg_info "No URL provided" + msg_ok "using local IP: $ENTE_ALBUMS_URL\n" else ENTE_ALBUMS_URL="$albums_url" - msg_info "Using provided URL: $ENTE_ALBUMS_URL\n" + msg_info "URL provided" + msg_ok "Using provided URL: $ENTE_ALBUMS_URL\n" fi export NEXT_PUBLIC_ENTE_ENDPOINT=$ENTE_BACKEND_URL