Mercurial > dotfiles
view .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl @ 1078:1fcc8b0ca8e2 default
fix: pin rbw version
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Sat, 22 Feb 2025 11:00:36 +0100 |
parents | 31351132efca |
children | 3bcc2c5ddef3 |
line wrap: on
line source
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}} #!/usr/bin/env bash set -xe DOWNLOADFILE=/tmp/bitwarden.deb curl -fsSL "https://github.com/bitwarden/clients/releases/download/cli-v2024.2.0/bw-linux-2024.2.0.zip" | zcat | install -m 755 /dev/stdin $HOME/bin/bw curl -fsSL "https://github.com/bitwarden/clients/releases/download/desktop-v2024.2.0/Bitwarden-2024.2.0-amd64.deb" > $DOWNLOADFILE sudo dpkg --install --skip-same-version $DOWNLOADFILE rm -rf $DOWNLOADFILE $HOME/bin/mise x [email protected] -- cargo install --version 1.13.2 rbw {{ end }}