Only check for updates if root

This commit is contained in:
JeremyStar™ 2024-03-15 02:52:23 +01:00
parent 89a2c8555d
commit 7848c5e2e7

View file

@ -24,4 +24,6 @@ if [[ -r /usr/share/bash-completion/bash_completion ]]; then
fi fi
source /etc/jstmbash/init.source source /etc/jstmbash/init.source
env "BASHRC=true" sysdotfiles-updatechecker if [ "${UID}" == "0" ]; then
env "BASHRC=true" sysdotfiles-updatechecker
fi