Update dotfiles/.local/motd.sh
This commit is contained in:
parent
7b0ec069b7
commit
a5c704afd7
1 changed files with 2 additions and 2 deletions
|
@ -541,8 +541,8 @@ print_updates() {
|
|||
printf " \\033[1;37mUpdates:\\033[0m\\n"
|
||||
|
||||
mkdir -p "$HOME/.local/labs" > /dev/null
|
||||
dnf list updates | grep updates | wc -l > "$HOME/.local/labs/dnf-updates-reg" &
|
||||
dnf updateinfo list --security --available | grep '/Sec. ' | wc -l > "$HOME/.local/labs/dnf-updates-sec" &
|
||||
command dnf list updates | grep updates | wc -l > "$HOME/.local/labs/dnf-updates-reg" &
|
||||
command dnf updateinfo list --security --available | grep '/Sec. ' | wc -l > "$HOME/.local/labs/dnf-updates-sec" &
|
||||
updates_count_security="0"
|
||||
updates_count_reg="0"
|
||||
if [ -f "$HOME/.local/labs/dnf-updates-sec" ]; then
|
||||
|
|
Loading…
Reference in a new issue