From 29af71e4105dc8bd8761957a1e3e4f7ef45c076b Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 5 Dec 2026 22:09:29 +0100 Subject: WIP Somewhat blocked by https://bugzilla.redhat.com/show_bug.cgi?id=2521543 --- workstation/user-setup.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 workstation/user-setup.py (limited to 'workstation/user-setup.py') diff --git a/workstation/user-setup.py b/workstation/user-setup.py new file mode 100755 index 00000000..b114c13e --- /dev/null +++ b/workstation/user-setup.py @@ -0,0 +1,20 @@ +#!/usr/bin/python3 +import pathlib +import subprocess + + +def _(*args): + subprocess.run(args, check=True) + +HOME = pathlib.Path.home() +BIN = HOME / ".local" / "bin" +GIT = HOME / "git" +ALEXPDP7_REPO = GIT / "alexpdp7" + +if not ALEXPDP7_REPO.exists(): + _("git", "clone", "https://github.com/alexpdp7/alexpdp7.git", ALEXPDP7_REPO) + +_("pipx", "install", "-e", ALEXPDP7_REPO / "scripts", "--force") +_(BIN / "setup-ubpkg") +# Latest Bitwarden CLI not compatible with EPEL Vaultwarden https://github.com/dani-garcia/vaultwarden/issues/7820 +_(BIN / "install-bitwarden-cli", "2026.8.0") -- cgit v1.2.3