debian/postinst, usr/bin/byobu-janitor, usr/bin/byobu-status:

This commit is contained in:
Dustin Kirkland 2011-09-23 10:56:56 -05:00
commit cf04960b66
2 changed files with 9 additions and 1 deletions

2
debian/changelog vendored
View file

@ -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

View file

@ -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}