Skip to content

Instantly share code, notes, and snippets.

@e7d
Created December 4, 2020 08:29
Show Gist options
  • Save e7d/ab66e5160d55f67c85546e489b570dd8 to your computer and use it in GitHub Desktop.
Save e7d/ab66e5160d55f67c85546e489b570dd8 to your computer and use it in GitHub Desktop.
DBeaver updater for Manjaro
#!/bin/sh
# Ensure dpkg availability
if ! command -v dpkg &> /dev/null; then
sudo pacman -Syy dpkg
fi
# Download and update DBeaver with latest deb file
TMP_DIR="$(mktemp -d)"
wget -qO $TMP_DIR/dbeaver-ce_latest_amd64.deb https://dbeaver.io/files/dbeaver-ce_latest_amd64.deb
sudo dpkg -i --ignore-depends=openjdk-8-jre-headless $TMP_DIR/dbeaver-ce_latest_amd64.deb
rm -rf $TMP_DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment