From 2a523605854a1bae5da4ee82b1d01e5bb5d4677d Mon Sep 17 00:00:00 2001 From: Raghav Vashisht Date: Sun, 23 Nov 2025 21:21:09 +0530 Subject: [PATCH] feat: export binaries and scripts in /usr/local/bin --- install/ente-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/ente-install.sh b/install/ente-install.sh index f75bbedff..a52ca8eca 100644 --- a/install/ente-install.sh +++ b/install/ente-install.sh @@ -29,12 +29,13 @@ setup_go NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs ENTE_CLI_VERSION=$(curl -s https://api.github.com/repos/ente-io/ente/releases | jq -r '[.[] | select(.tag_name | startswith("cli-v"))][0].tag_name') fetch_and_deploy_gh_release "ente-server" "ente-io/ente" "tarball" "latest" "/opt/ente" -fetch_and_deploy_gh_release "ente-cli" "ente-io/ente" "prebuild" "$ENTE_CLI_VERSION" "/usr/local/bin/ente" "ente-cli-$ENTE_CLI_VERSION-linux-amd64.tar.gz" +fetch_and_deploy_gh_release "ente-cli" "ente-io/ente" "prebuild" "$ENTE_CLI_VERSION" "/usr/local/bin" "ente-cli-$ENTE_CLI_VERSION-linux-amd64.tar.gz" $STD mkdir -p /opt/ente/cli msg_info "Configuring Ente CLI" cat <>~/.bashrc export ENTE_CLI_SECRETS_PATH=/opt/ente/cli/secrets.txt +export PATH="/usr/local/bin:$PATH" EOF $STD source ~/.bashrc $STD mkdir -p ~/.ente