Skip to content

Commit 3981e64

Browse files
committed
Adjusting the updateinfo parameter from --list to list only
1 parent 1075a95 commit 3981e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polybar-scripts/updates-dnf/updates-dnf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
updates=$(dnf updateinfo -q --list | wc -l)
3+
updates=$(dnf updateinfo -q list | wc -l)
44

55
if [ "$updates" -gt 0 ]; then
66
echo "# $updates"

0 commit comments

Comments
 (0)