mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/.constants:
- should probably export those
This commit is contained in:
parent
83f0acdb40
commit
5d287ebda8
2 changed files with 5 additions and 4 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -33,6 +33,8 @@ byobu (4.17) unreleased; urgency=low
|
|||
+ BYOBU_CONFIG_DIR, which is typically $HOME/.byobu
|
||||
- this rework should more easily allow us to support users who's
|
||||
SOCKETDIR is not /var/run/screen, and XDG_USER_DIRS users
|
||||
* usr/lib/byobu/.constants:
|
||||
- should probably export those
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 27 Jun 2011 14:14:17 +0000
|
||||
|
||||
|
|
|
@ -19,10 +19,9 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
PKG="byobu"
|
||||
BYOBU_VERSION="4.17"
|
||||
|
||||
# Create and set the user configuration directory
|
||||
BYOBU_CONFIG_DIR="$HOME/.$PKG"
|
||||
export BYOBU_CONFIG_DIR="$HOME/.$PKG"
|
||||
mkdir -p "$BYOBU_CONFIG_DIR"
|
||||
|
||||
# Grab the global, then local socket directory
|
||||
|
@ -31,11 +30,11 @@ mkdir -p "$BYOBU_CONFIG_DIR"
|
|||
|
||||
# Hopefully, we can make a runtime data directory in a tmpfs
|
||||
if mkdir -p "$SOCKETDIR/S-$USER/$PKG" 2>/dev/null; then
|
||||
BYOBU_RUN_DIR="$SOCKETDIR/S-$USER/$PKG"
|
||||
export BYOBU_RUN_DIR="$SOCKETDIR/S-$USER/$PKG"
|
||||
else
|
||||
# But if not, we'll use a cache direcotry
|
||||
mkdir -p "$HOME/.cache/$PKG"
|
||||
BYOBU_RUN_DIR="$HOME/.cache/$PKG"
|
||||
export BYOBU_RUN_DIR="$HOME/.cache/$PKG"
|
||||
fi
|
||||
|
||||
# Some users build and install byobu themselves, rather than from a distro
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue