Update dotfiles/.local/functions

This commit is contained in:
Brian Zalewski 2022-10-31 21:52:44 +00:00
parent 05f9dace70
commit 0a0bd6eb61

View file

@ -101,6 +101,6 @@ transfer() {
dnf() {
command dnf "$@"
mkdir -p "$HOME/.local/labs" > /dev/null
dnf updateinfo list --security --available | grep '/Sec. ' | wc -l > "$HOME/.local/labs/dnf-updates-sec" &
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" &
command dnf list updates | grep updates | wc -l > "$HOME/.local/labs/dnf-updates-reg" &
}