Skip to content

Commit

Permalink
fix distro name
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinkirkland committed Dec 23, 2023
1 parent 98f7966 commit f3ec913
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
byobu (6.1) released; urgency=medium

* usr/lib/byobu/include/shutil:
- fix distro getting from /etc/os-release

-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 23 Dec 2023 15:09:29 -0600

byobu (6.0) released; urgency=medium

* usr/lib/byobu/disk:
Expand All @@ -21,7 +28,7 @@ byobu (6.0) released; urgency=medium
- Wolfi doesn't really have versions, so just use the distro
name rather than version id

-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 28 Nov 2023 20:35:36 -0600
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 23 Dec 2023 15:09:09 -0600

byobu (5.133-0ubuntu1) focal; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion usr/lib/byobu/include/shutil
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ get_distro() {
;;
*)
# assume first field is what we want
distro="${issue%% *}";
distro="${distro%% *}";
;;
esac
elif [ -r "/etc/issue" ]; then
Expand Down

0 comments on commit f3ec913

Please sign in to comment.