mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu-janitor: LP: #894430
- whitelist archlinux for status colors - if tmux exists, then don't bother with color disabling
This commit is contained in:
parent
00f51f56e7
commit
9108a125ae
2 changed files with 9 additions and 3 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
||||||
byobu (4.51) unreleased; urgency=low
|
byobu (4.51) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* usr/bin/byobu-janitor: LP: #894430
|
||||||
|
- whitelist archlinux for status colors
|
||||||
|
- if tmux exists, then don't bother with color disabling
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 23 Nov 2011 13:41:31 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 23 Nov 2011 13:41:31 -0600
|
||||||
|
|
||||||
|
|
|
@ -54,12 +54,16 @@ fi
|
||||||
|
|
||||||
# NOTE: Older version of Screen have an arbitrary limit of only being able
|
# NOTE: Older version of Screen have an arbitrary limit of only being able
|
||||||
# to change colors 16 times in this 'hardstatus string'.
|
# to change colors 16 times in this 'hardstatus string'.
|
||||||
# Whitelist Debian and Ubuntu where the fix has been released.
|
# Whitelist distros where the fix has been released.
|
||||||
# Also committed in Upstream git, but not yet released.
|
# Also committed in Upstream git, but not yet released.
|
||||||
# * http://savannah.gnu.org/bugs/?22146
|
# * http://savannah.gnu.org/bugs/?22146
|
||||||
MC=1
|
MC=1
|
||||||
if command -v egrep >/dev/null; then
|
if command -v egrep >/dev/null; then
|
||||||
egrep -qsi "ubuntu|debian" /etc/issue 2>/dev/null && MC=0 || true
|
if ! command -v tmux >/dev/null; then
|
||||||
|
if egrep -qsi "ubuntu|debian" /etc/issue 2>/dev/null || [ -e "/etc/arch-release" ]; then
|
||||||
|
MC=0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Affects: First runs with no configuration
|
# Affects: First runs with no configuration
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue