10 lines
128 B
Bash
10 lines
128 B
Bash
#!/bin/sh
|
|
|
|
updates=$(dnf updateinfo -q --list | wc -l)
|
|
|
|
if [ "$updates" -gt 0 ]; then
|
|
echo "# $updates"
|
|
else
|
|
echo ""
|
|
fi
|