mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* usr/lib/byobu/include/dirs: LP: #1025998
- more XDG annoyances - use $HOME/.config/byobu as BYOBU_CONFIG_DIR if it exists
This commit is contained in:
parent
25cc120ea5
commit
e5138f2628
2 changed files with 7 additions and 1 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -7,6 +7,9 @@ byobu (5.27) unreleased; urgency=low
|
|||
* usr/bin/byobu: LP: #1026595
|
||||
- fix readlink detection; we were using BYOBU_TEST before it was defined
|
||||
- instead, try to greadlink -f .; operationally the same
|
||||
* usr/lib/byobu/include/dirs: LP: #1025998
|
||||
- more XDG annoyances
|
||||
- use $HOME/.config/byobu as BYOBU_CONFIG_DIR if it exists
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 10 Jan 2013 16:36:23 -0600
|
||||
|
||||
|
|
|
@ -30,8 +30,11 @@ if [ -d "$BYOBU_CONFIG_DIR" ]; then
|
|||
elif [ -d "$XDG_CONFIG_HOME" ]; then
|
||||
# Use XDG, as some users insist on such nonsense :-)
|
||||
export BYOBU_CONFIG_DIR="$XDG_CONFIG_HOME/$PKG"
|
||||
elif [ -d "$HOME/.config/$PKG" ]; then
|
||||
# Use XDG config directory, if it exists
|
||||
export BYOBU_CONFIG_DIR="$HOME/.config/$PKG"
|
||||
elif [ -d "$HOME/.local/share/$PKG" ]; then
|
||||
# Use XDG common directory, if it exists
|
||||
# Use XDG local directory, if it exists
|
||||
export BYOBU_CONFIG_DIR="$HOME/.local/share/$PKG"
|
||||
else
|
||||
# And to default to good old classic config dir location!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue