mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
* usr/lib/byobu/include/shutil:
- use /etc/lsb-release, if it exists fixes detection of Linux Mint
This commit is contained in:
parent
0ab8a3b00f
commit
2f0bb33ff9
2 changed files with 5 additions and 1 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (5.118) unreleased; urgency=medium
|
||||
|
||||
* UNRELEASED
|
||||
* usr/lib/byobu/include/shutil:
|
||||
- use /etc/lsb-release, if it exists
|
||||
fixes detection of Linux Mint
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 27 Apr 2017 16:26:18 -0500
|
||||
|
||||
|
|
|
@ -316,6 +316,8 @@ get_distro() {
|
|||
if [ -n "$DISTRO" ]; then
|
||||
# user defined
|
||||
true
|
||||
elif [ -r "/etc/lsb-release" ]; then
|
||||
distro=$(. /etc/lsb-release && echo "$NAME")
|
||||
elif [ -r "/etc/os-release" ]; then
|
||||
distro=$(. /etc/os-release && echo "$NAME")
|
||||
elif [ -r "/etc/issue" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue