Skip to content

Commit

Permalink
build(scripts): add a small improvement to the installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Jun 11, 2024
1 parent 70cfbf2 commit 2907040
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
6 changes: 1 addition & 5 deletions scripts/install_update_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@ GITHUB_LATEST_VERSION=$(curl -L -s -H 'Accept: application/json' https://github.
GITHUB_FILE="dblab_${GITHUB_LATEST_VERSION//v/}_${OS}_${ARCH}.tar.gz"
GITHUB_URL="https://github.com/danvergara/dblab/releases/download/${GITHUB_LATEST_VERSION}/${GITHUB_FILE}"

echo $GITHUB_FILE
echo $GITHUB_LATEST_VERSION
echo $GITHUB_URL

# install/update the local binary
curl -L -o dblab.tar.gz $GITHUB_URL
tar xzvf dblab.tar.gz dblab
mv -f dblab "$DIR"
install -Dm 755 dblab -t "$DIR"
rm dblab.tar.gz
35 changes: 0 additions & 35 deletions scripts/install_update_sqlite_linux.sh

This file was deleted.

0 comments on commit 2907040

Please sign in to comment.