* usr/lib/byobu/include/shutil, usr/lib/byobu/logo:

- add a logo for gLinux
This commit is contained in:
Dustin Kirkland 2018-04-27 03:43:45 -05:00
commit 706262387c
3 changed files with 12 additions and 0 deletions

2
debian/changelog vendored
View file

@ -11,6 +11,8 @@ byobu (5.126) unreleased; urgency=medium
* usr/lib/byobu/session:
- don't count sessions that start with _
- BUG: #892489
* usr/lib/byobu/include/shutil, usr/lib/byobu/logo:
- add a logo for gLinux
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 16 Mar 2018 10:09:57 -0700

View file

@ -318,6 +318,11 @@ get_distro() {
true
elif [ -r "/etc/os-release" ]; then
distro=$(. /etc/os-release && echo "$NAME")
case "$distro" in
Debian*)
distro=$(. /etc/lsb-release && [ -n "$GOOGLE_ID" ] && echo "gLinux" || echo "Debian")
;;
esac
elif [ -r "/etc/issue" ]; then
# lsb_release is *really* slow; try to use /etc/issue first
local issue

View file

@ -84,6 +84,11 @@ __logo() {
logo=" > "
$MARKUP && printf "$(color b c w)%s$(color -)" "$logo" || printf "$logo"
;;
*glinux*)
#$MARKUP && printf "$(color W b)g$(color W r)L$(color W y)i$(color W b)n$(color W g)u$(color W r)x$(color -)" "$logo" || printf "$logo"
logo="gLinux"
$MARKUP && printf "$(color W b)%s$(color -)" "$logo" || printf "$logo"
;;
*mac*|*darwin*)
if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then
# The Apple option character