Update dotfiles/.local/motd.sh

This commit is contained in:
Brian Zalewski 2022-11-02 04:53:49 +00:00
parent 9e62fc5020
commit 2a688036e1

View file

@ -533,7 +533,7 @@ print_updates() {
fi fi
printf " \\033[%sm%s \\033[0m %s\\n" "$updates_color" "$updates_icon" "$updates_message" printf " \\033[%sm%s \\033[0m %s\\n" "$updates_color" "$updates_icon" "$updates_message"
elif [ -f /usr/bin/dnf_TODO ]; then elif [ -f /usr/bin/dnfTODO ]; then
# TODO - Find way of quickly acquiring details # TODO - Find way of quickly acquiring details
mkdir -p "$HOME/.local/labs" > /dev/null mkdir -p "$HOME/.local/labs" > /dev/null
(command dnf list updates | grep updates | wc -l > "$HOME/.local/labs/dnf-updates-reg" &) (command dnf list updates | grep updates | wc -l > "$HOME/.local/labs/dnf-updates-reg" &)