usr/bin/byobu-janitor: use readlink, much more graceful

This commit is contained in:
Dustin Kirkland 2011-02-27 09:46:32 -06:00
commit aad8d7d496
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View file

@ -7,6 +7,7 @@ byobu (3.29) unreleased; urgency=low
the default wireless interface, LP: #723260
* usr/share/man/man1/byobu.1: document TERM=vt100 for Mac keyboard users,
LP: #482623
* usr/bin/byobu-janitor: use readlink, much more graceful
[ Chow Loong Jin and Dustin Kirkland ]
* usr/lib/byobu/disk_io: canonicalize symlinks so that disk_io works

View file

@ -65,8 +65,8 @@ fi
# Affects: Symlinks pointing to color profiles
if [ -h "$PROFILE" ]; then
case "$(stat $PROFILE)" in
*File:*-\>*$BYOBU_PREFIX/share/byobu/profiles/*)
case "$(readlink -f $PROFILE)" in
$BYOBU_PREFIX/share/byobu/profiles/*)
# Set default colors
BG=W
FG=k