From f3ec913808556a5db4355bc8f30676be6a8700c1 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sat, 23 Dec 2023 15:10:25 -0600 Subject: [PATCH] fix distro name --- debian/changelog | 9 ++++++++- usr/lib/byobu/include/shutil | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5367c01f..130ad0e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +byobu (6.1) released; urgency=medium + + * usr/lib/byobu/include/shutil: + - fix distro getting from /etc/os-release + + -- Dustin Kirkland Sat, 23 Dec 2023 15:09:29 -0600 + byobu (6.0) released; urgency=medium * usr/lib/byobu/disk: @@ -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 Tue, 28 Nov 2023 20:35:36 -0600 + -- Dustin Kirkland Sat, 23 Dec 2023 15:09:09 -0600 byobu (5.133-0ubuntu1) focal; urgency=medium diff --git a/usr/lib/byobu/include/shutil b/usr/lib/byobu/include/shutil index d24ff91f..ce4570b8 100755 --- a/usr/lib/byobu/include/shutil +++ b/usr/lib/byobu/include/shutil @@ -322,7 +322,7 @@ get_distro() { ;; *) # assume first field is what we want - distro="${issue%% *}"; + distro="${distro%% *}"; ;; esac elif [ -r "/etc/issue" ]; then