mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 02:36:59 -07:00
* usr/bin/byobu-janitor.in:
- Add fallback if the install command is not available
This commit is contained in:
parent
69871dedc8
commit
b10c7b6f65
2 changed files with 10 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -26,6 +26,8 @@ byobu (5.128) unreleased; urgency=medium
|
|||
creating it)
|
||||
* usr/bin/byobu.in:
|
||||
- Use readlink if the tty command is not available
|
||||
* usr/bin/byobu-janitor.in:
|
||||
- Add fallback if the install command is not available
|
||||
* usr/bin/byobu-launch.in:
|
||||
- Don't autolaunch for ARM serial consoles
|
||||
* usr/lib/byobu/disk_io:
|
||||
|
|
|
@ -41,7 +41,14 @@ DEFAULT_PROFILE="light"
|
|||
PROFILE="$BYOBU_CONFIG_DIR/profile"
|
||||
|
||||
# Create byobu-exchange buffer file, with secure permissions, if it doesn't exist
|
||||
[ -e "$BYOBU_RUN_DIR/printscreen" ] || install -m 600 /dev/null "$BYOBU_RUN_DIR/printscreen"
|
||||
if ! [ -e "$BYOBU_RUN_DIR/printscreen" ]; then
|
||||
if eval $BYOBU_TEST install >/dev/null 2>&1; then
|
||||
install -m 600 /dev/null "$BYOBU_RUN_DIR/printscreen"
|
||||
else
|
||||
cp /dev/null "$BYOBU_RUN_DIR/printscreen"
|
||||
chmod 600 "$BYOBU_RUN_DIR/printscreen"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Affects: users who launched using sudo, such that their config dir
|
||||
# is not writable by them
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue