From b8affb49b37a4d10acc8d06691f577516e133b88 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Thu, 1 Jun 2017 17:17:59 -0500 Subject: [PATCH] * usr/lib/byobu/include/shutil: - fix regression in distro detection --- debian/changelog | 3 ++- usr/lib/byobu/include/shutil | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a5f2aa0f..57cefae1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ byobu (5.119) unreleased; urgency=medium - * UNRELEASED + * usr/lib/byobu/include/shutil: + - fix regression in distro detection -- Dustin Kirkland Thu, 01 Jun 2017 11:45:49 -0500 diff --git a/usr/lib/byobu/include/shutil b/usr/lib/byobu/include/shutil index ddb87dea..0238a145 100755 --- a/usr/lib/byobu/include/shutil +++ b/usr/lib/byobu/include/shutil @@ -317,7 +317,7 @@ get_distro() { # user defined true elif [ -r "/etc/lsb-release" ]; then - distro=$(. /etc/lsb-release && echo "$NAME") + distro=$(. /etc/lsb-release && echo "$DISTRIB_DESCRIPTION") elif [ -r "/etc/os-release" ]; then distro=$(. /etc/os-release && echo "$NAME") elif [ -r "/etc/issue" ]; then