Skip to content

Commit

Permalink
bin: clean up linux install script
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Nov 22, 2024
1 parent 1e34f02 commit bc65ed2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/install-latest-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TMP_DIR="$(mktemp -d)"
trap 'rm -rf "${TMP_DIR}"' EXIT

# Download the latest release
wget --directory-prefix="${TMP_DIR}" "${DOWNLOAD_URL}"
curl -L "${DOWNLOAD_URL}" -o "${TMP_DIR}/$(basename "${DOWNLOAD_URL}")"

# Find and extract the archive
ARCHIVE_FILE="$(find "${TMP_DIR}" -name "brev*.tar.gz" -type f)"
Expand All @@ -19,5 +19,3 @@ tar -xzf "${ARCHIVE_FILE}" -C "${TMP_DIR}"
sudo mv "${TMP_DIR}/brev" /usr/local/bin/brev
sudo chmod +x /usr/local/bin/brev

# Run post-installation setup
sudo brev postinstall

0 comments on commit bc65ed2

Please sign in to comment.