mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu-select-profile: LP: #860574
- fix color selection; profile is no longer a symlink
This commit is contained in:
parent
22c31dae8a
commit
6b26239fe3
2 changed files with 2 additions and 13 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue