File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,11 @@ byobu (6.11) unreleased; urgency=medium
7
7
* usr/bin/byobu-launcher-install.in:
8
8
- Fix for VSCode, fish and byobu installations
9
9
- https://github.com/dustinkirkland/byobu/commit/f917d2169afdec623f5b32723d93bfd91d34b92f#commitcomment-137955113
10
+ * usr/lib/byobu/updates_available:
11
+ - added support for dnf package manager
12
+ - https://code.launchpad.net/~sanjay-ankur/byobu/byobu/+merge/415959
10
13
11
- -- Dustin Kirkland <
[email protected] > Sat, 10 Feb 2024
10:56:13 -0600
14
+ -- Dustin Kirkland <
[email protected] > Sat, 10 Feb 2024
11:03:36 -0600
12
15
13
16
byobu (6.10-0ubuntu1) noble; urgency=medium
14
17
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ ___update_cache() {
85
85
# Wolfi updates are cheap (~1s); so update cache every time
86
86
apk update 2>&1 > /dev/null
87
87
apk upgrade --simulate | grep -c " Upgrading " > $mycache 2> /dev/null &
88
+ elif eval $BYOBU_TEST dnf > /dev/null; then
89
+ # If dnf exists, use it
90
+ flock -xn " $flock " dnf list --upgrades -q -y | grep -vc " Available Upgrades" > $mycache 2> /dev/null &
88
91
fi
89
92
}
90
93
@@ -141,6 +144,9 @@ ___update_needed() {
141
144
# formulae database was updated
142
145
[ " $( brew --prefix) /Library/Formula" -nt " $mycache " ]
143
146
return $?
147
+ elif [ -e " /var/cache/dnf/packages.db" ]; then
148
+ [ " /var/cache/dnf/packages.db" -nt " $mycache " ]
149
+ return $?
144
150
fi
145
151
return 1
146
152
}
You can’t perform that action at this time.
0 commit comments