mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* usr/bin/byobu-janitor:
- get the status/statusrc seeding working again, and ec2_cost enabled on ec2 systems by default again
This commit is contained in:
parent
bb13ac774a
commit
07ec97e82e
2 changed files with 4 additions and 3 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -6,6 +6,9 @@ byobu (4.26) unreleased; urgency=low
|
|||
usr/share/byobu/profiles/Makefile.am, usr/share/byobu/profiles/tmux,
|
||||
usr/share/byobu/profiles/tmuxrc:
|
||||
- initial support for launching tmux
|
||||
* usr/bin/byobu-janitor:
|
||||
- get the status/statusrc seeding working again, and ec2_cost enabled
|
||||
on ec2 systems by default again
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 04 Aug 2011 17:57:12 -0500
|
||||
|
||||
|
|
|
@ -52,13 +52,11 @@ fi
|
|||
[ -r "$BYOBU_CONFIG_DIR/profile.tmux" ] || echo "source-file $BYOBU_PREFIX/share/$PKG/profiles/tmux" > "$BYOBU_CONFIG_DIR/profile.tmux"
|
||||
[ -r "$BYOBU_CONFIG_DIR/keybindings" ] || echo "source $BYOBU_PREFIX/share/$PKG/keybindings/common" > "$BYOBU_CONFIG_DIR/keybindings"
|
||||
[ -r "$BYOBU_CONFIG_DIR/windows" ] || touch "$BYOBU_CONFIG_DIR/windows"
|
||||
[ -r "$BYOBU_CONFIG_DIR/status" ] || touch "$BYOBU_CONFIG_DIR/status"
|
||||
[ -r "$BYOBU_CONFIG_DIR/statusrc" ] || touch "$BYOBU_CONFIG_DIR/statusrc"
|
||||
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"
|
||||
for f in status statusrc; do
|
||||
if [ ! -r "$BYOBU_CONFIG_DIR/$f" ]; then
|
||||
# Copy from skeleton, if possible
|
||||
[ -r "/etc/$PKG/$f" ] && cp -f /etc/$PKG/$f "$BYOBU_CONFIG_DIR/$f"
|
||||
cp -f "$BYOBU_PREFIX/share/$PKG/status/$f" "$BYOBU_CONFIG_DIR/$f"
|
||||
if [ "$f" = "status" ] && metadata_available; then
|
||||
# Enable ec2_cost if we're in ec2
|
||||
$SED -i -e "s/ec2_cost=.*/ec2_cost=1/" "$BYOBU_CONFIG_DIR/$f"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue