* usr/lib/byobu/include/shutil:

- fix regression in distro detection
This commit is contained in:
Dustin Kirkland 2017-06-01 17:17:59 -05:00
commit b8affb49b3
2 changed files with 3 additions and 2 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.119) unreleased; urgency=medium byobu (5.119) unreleased; urgency=medium
* UNRELEASED * usr/lib/byobu/include/shutil:
- fix regression in distro detection
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 01 Jun 2017 11:45:49 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 01 Jun 2017 11:45:49 -0500

View file

@ -317,7 +317,7 @@ get_distro() {
# user defined # user defined
true true
elif [ -r "/etc/lsb-release" ]; then 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 elif [ -r "/etc/os-release" ]; then
distro=$(. /etc/os-release && echo "$NAME") distro=$(. /etc/os-release && echo "$NAME")
elif [ -r "/etc/issue" ]; then elif [ -r "/etc/issue" ]; then