mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
debian/postinst, usr/bin/byobu-janitor, usr/bin/byobu-status:
This commit is contained in:
parent
c07d24a894
commit
cf04960b66
2 changed files with 9 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -3,7 +3,7 @@ byobu (4.35) unreleased; urgency=low
|
|||
* usr/bin/byobu-janitor, usr/share/byobu/status/status: LP: #856467
|
||||
- cleaner fix for ensuring ec2_cost is enabled in ec2 instances;
|
||||
previous fix just enabled it everywhere
|
||||
* debian/postinst, usr/bin/byobu-janitor:
|
||||
* debian/postinst, usr/bin/byobu-janitor, usr/bin/byobu-status:
|
||||
- smooth upgrades from older byobu (<= 4.0)
|
||||
* usr/lib/byobu/reboot_required:
|
||||
- fix path
|
||||
|
|
|
@ -33,6 +33,14 @@ for i in "${BYOBU_PREFIX}/share/$PKG/status/status" "${BYOBU_PREFIX}/share/$PKG/
|
|||
[ -r "$i" ] && . "$i"
|
||||
done
|
||||
|
||||
# Reload profile, if necessary
|
||||
if [ -e "/var/run/screen/S-$USER/$PKG.reload-required" ] || [ -e "$BYOBU_RUN_DIR/reload-required" ]; then
|
||||
if [ "$BYOBU_BACKEND" = "screen" ] && [ -r "$BYOBU_CONFIG_DIR/profile" ]; then
|
||||
# If the forced janitorial steps succeed, try a profile reload
|
||||
byobu-janitor --force && screen -X at 0 source "$BYOBU_CONFIG_DIR/profile" >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Get the current timestamp
|
||||
get_now; NOW=${_RET}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue