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:
parent
25e521f4ad
commit
bf1c36b03b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user