From 6b26239fe3ab7c6760e035d3551430b022c9c113 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 27 Sep 2011 09:37:23 -0400 Subject: [PATCH] * usr/bin/byobu-select-profile: LP: #860574 - fix color selection; profile is no longer a symlink --- debian/changelog | 3 ++- usr/bin/byobu-select-profile | 12 ------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0ca473aa..3b735e60 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 23 Sep 2011 11:09:07 -0500 diff --git a/usr/bin/byobu-select-profile b/usr/bin/byobu-select-profile index 65711359..8025b405 100755 --- a/usr/bin/byobu-select-profile +++ b/usr/bin/byobu-select-profile @@ -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