mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/bin/byobu-config.in: LP: #1316050
* usr/lib/byobu/include/dirs.in: LP: #1346869 - be little smarter about detecting a usable /dev/shm
This commit is contained in:
parent
3c0ac3f13e
commit
8e13767b8d
2 changed files with 5 additions and 2 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,10 @@
|
||||||
byobu (5.83) unreleased; urgency=medium
|
byobu (5.83) unreleased; urgency=medium
|
||||||
|
|
||||||
[ Dustin Kirkland ]
|
[ Dustin Kirkland ]
|
||||||
* usr/bin/byobu-config.in:
|
* usr/bin/byobu-config.in: LP: #1316050
|
||||||
- hard code LANG=C before launching byobu-config
|
- hard code LANG=C before launching byobu-config
|
||||||
|
* usr/lib/byobu/include/dirs.in: LP: #1346869
|
||||||
|
- be little smarter about detecting a usable /dev/shm
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 22 Jul 2014 07:21:56 -0700
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 22 Jul 2014 07:21:56 -0700
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,8 @@ if [ -w /dev/shm ]; then
|
||||||
if [ ! -d "$BYOBU_RUN_DIR" ] || [ ! -O "$BYOBU_RUN_DIR" ]; then
|
if [ ! -d "$BYOBU_RUN_DIR" ] || [ ! -O "$BYOBU_RUN_DIR" ]; then
|
||||||
export BYOBU_RUN_DIR=$(mktemp -d /dev/shm/$PKG-$USER-XXXXXXXX)
|
export BYOBU_RUN_DIR=$(mktemp -d /dev/shm/$PKG-$USER-XXXXXXXX)
|
||||||
fi
|
fi
|
||||||
else
|
fi
|
||||||
|
if [ ! -d "$BYOBU_RUN_DIR" ] || [ ! -O "$BYOBU_RUN_DIR" ] || [ ! -w "$BYOBU_RUN_DIR" ]; then
|
||||||
# For distros that don't have a /dev/shm, use local disk
|
# For distros that don't have a /dev/shm, use local disk
|
||||||
if [ -d "$XDG_CACHE_HOME" ]; then
|
if [ -d "$XDG_CACHE_HOME" ]; then
|
||||||
# Use XDG, as some users insist on such nonsense :-)
|
# Use XDG, as some users insist on such nonsense :-)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue