From de78a01dbc37c2c8b9700669d7573ef9a5430854 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 24 Jun 2012 16:22:10 -0500 Subject: [PATCH] * usr/lib/byobu/include/constants: LP: #954031 - use the sed --follow-symlinks option to keep from recreating files, especially .profile and .bashrc --- debian/changelog | 3 +++ usr/lib/byobu/include/constants | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f59c0081..5577a8bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -37,6 +37,9 @@ byobu (5.20) unreleased; urgency=low - seems upstream tmux changed the option name from "alert" to "activity" * usr/share/man/man1/byobu.1: LP: #977225 - add documentation about the status line background colors + * usr/lib/byobu/include/constants: LP: #954031 + - use the sed --follow-symlinks option to keep from recreating files, + especially .profile and .bashrc [ Dustin Kirkland and Daniel Lee ] * usr/lib/byobu/disk_io, usr/lib/byobu/mail, usr/lib/byobu/network: diff --git a/usr/lib/byobu/include/constants b/usr/lib/byobu/include/constants index bbe1e238..0ffbec12 100755 --- a/usr/lib/byobu/include/constants +++ b/usr/lib/byobu/include/constants @@ -94,7 +94,7 @@ case "$BYOBU_BACKEND" in esac # MacOS Support -$BYOBU_TEST gsed >/dev/null 2>&1 && export BYOBU_SED="gsed" || export BYOBU_SED="sed" +$BYOBU_TEST gsed >/dev/null 2>&1 && export BYOBU_SED="gsed --follow-symlinks" || export BYOBU_SED="sed --follow-symlinks" $BYOBU_TEST greadlink >/dev/null 2>&1 && export BYOBU_READLINK="greadlink" || export BYOBU_READLINK="readlink" $BYOBU_TEST sensible-pager >/dev/null 2>&1 && export BYOBU_PAGER="sensible-pager" || export BYOBU_PAGER="less"