mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
usr/bin/byobu-janitor: use greadlink on Mac OSX, LP: #740370
This commit is contained in:
parent
0a61fa3edb
commit
e215949bae
2 changed files with 3 additions and 1 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -31,6 +31,7 @@ byobu (3.30) unreleased; urgency=low
|
||||||
usr/share/byobu/profiles/screenrc: support using ~/.byoburc, instead of
|
usr/share/byobu/profiles/screenrc: support using ~/.byoburc, instead of
|
||||||
~/.screenrc, if present; some users seem to want to use byobu and screen
|
~/.screenrc, if present; some users seem to want to use byobu and screen
|
||||||
separately, and keep their profiles separate, LP: #731529
|
separately, and keep their profiles separate, LP: #731529
|
||||||
|
* usr/bin/byobu-janitor: use greadlink on Mac OSX, LP: #740370
|
||||||
|
|
||||||
[ Chaskiel Grundman ]
|
[ Chaskiel Grundman ]
|
||||||
* debian/postinst: correctly fix old-school screen-profiles era diversions
|
* debian/postinst: correctly fix old-school screen-profiles era diversions
|
||||||
|
|
|
@ -45,6 +45,7 @@ DEFAULT_PROFILE="light"
|
||||||
PROFILE="$DATA/profile"
|
PROFILE="$DATA/profile"
|
||||||
# Use gsed on non-Linux OS's
|
# Use gsed on non-Linux OS's
|
||||||
which gsed 2>/dev/null && SED="gsed" || SED="sed"
|
which gsed 2>/dev/null && SED="gsed" || SED="sed"
|
||||||
|
which greadlink 2>/dev/null && READLINK="greadlink" || READLINK="readlink"
|
||||||
|
|
||||||
# Create byobu-exchange buffer file, with secure permissions, if it doesn't exist
|
# Create byobu-exchange buffer file, with secure permissions, if it doesn't exist
|
||||||
if [ -w "$RUN" ] && [ ! -e "$RUN/$PKG-exchange" ]; then
|
if [ -w "$RUN" ] && [ ! -e "$RUN/$PKG-exchange" ]; then
|
||||||
|
@ -65,7 +66,7 @@ fi
|
||||||
|
|
||||||
# Affects: Symlinks pointing to color profiles
|
# Affects: Symlinks pointing to color profiles
|
||||||
if [ -h "$PROFILE" ]; then
|
if [ -h "$PROFILE" ]; then
|
||||||
case "$(readlink -f $PROFILE)" in
|
case "$($READLINK -f $PROFILE)" in
|
||||||
$BYOBU_PREFIX/share/byobu/profiles/*)
|
$BYOBU_PREFIX/share/byobu/profiles/*)
|
||||||
# Set default colors
|
# Set default colors
|
||||||
BG=W
|
BG=W
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue