1
0
mirror of https://gitea.blesmrt.net/mikaela/scripts.git synced 2025-04-12 02:57:50 +02:00

deb-update.bash: add pipx if not root

This commit is contained in:
Aminda Suomalainen 2025-03-26 20:32:24 +02:00
parent 25e521f4ad
commit bf1c36b03b
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

@ -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