* usr/bin/byobu-select-profile: LP: #860574

- fix color selection;  profile is no longer a symlink
This commit is contained in:
Dustin Kirkland 2011-09-27 09:37:23 -04:00
commit 6b26239fe3
2 changed files with 2 additions and 13 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (4.36) unreleased; urgency=low
* UNRELEASED
* usr/bin/byobu-select-profile: LP: #860574
- fix color selection; profile is no longer a symlink
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 23 Sep 2011 11:09:07 -0500

View file

@ -67,18 +67,6 @@ PROFILE="$BYOBU_CONFIG_DIR/profile"
selected=-1
color=
assert_symlink() {
if [ -e "$1" ]; then
if [ ! -L "$1" ]; then
echo `gettext 'Error:'` $1 `gettext ' file exists, but is not a symlink'`
exit 1
fi
fi
}
# If these files exist, they must be a symlink
assert_symlink "$BYOBU_CONFIG_DIR/profile"
listprofiles() {
# Display list of profiles, one per line
for x in $COLORS; do