mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* usr/lib/byobu/include/shutil:
- fix regression in distro detection
This commit is contained in:
parent
949294bd3b
commit
b8affb49b3
2 changed files with 3 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue