Created
December 4, 2020 08:29
-
-
Save e7d/ab66e5160d55f67c85546e489b570dd8 to your computer and use it in GitHub Desktop.
DBeaver updater for Manjaro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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