From bf1c36b03baa894320aa0104fb313d160161a990 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 26 Mar 2025 20:32:24 +0200 Subject: [PATCH] deb-update.bash: add pipx if not root --- bash/deb-update.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 8c4716c..ab872d4 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -80,6 +80,12 @@ else printf "Either linuxbrew is not installed or running as root, skipping linuxbrew...\n" fi +if hash pipx 2> /dev/null; then + if [[ $(id -u) != 0 ]]; then + pipx upgrade-all + fi +fi + if hash rpmconf 2> /dev/null; then # Tests if there are rpmsave/rpmnew files, hopefully is non-interactive rpmconf -a -t