-
-
Save thegreyd/88d7a4c4a08aa89a02c86ff4a912c493 to your computer and use it in GitHub Desktop.
Install latest .deb KeepassXC, using the GitHub release page
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/bash | |
#bash script to install latest keepassxc release | |
#fetch the stable deb package from github release page | |
#Requires superuser permission | |
#page is not guaranteed to update with latest release | |
#verify for latest releases here: https://github.com/keepassxreboot/keepassxc/releases | |
URL="https://github.com/magkopian/keepassxc-debian/releases/latest" | |
RELEASEPAGE="$(wget $URL -q -O -)" | |
DEBURL="$(echo $RELEASEPAGE | grep -oP '"([^"]+_stable.deb)"')" | |
DEBURL="${DEBURL:1:-1}" | |
URL="https://github.com/$DEBURL" | |
wget $URL -O /tmp/KeepassXC.deb | |
sudo dpkg -i /tmp/KeepassXC.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment