use BYOBU_PREFIX for local installs

This commit is contained in:
Dustin Kirkland 2010-11-02 18:06:13 -05:00
commit f7e62bbde2
2 changed files with 3 additions and 1 deletions

1
debian/changelog vendored
View file

@ -11,6 +11,7 @@ byobu (3.7) unreleased; urgency=low
- add per-pid notifier monitors, terminate when screen terminates - add per-pid notifier monitors, terminate when screen terminates
- allow for disabling the notify_osd status; must handle in the perl - allow for disabling the notify_osd status; must handle in the perl
script script
- use BYOBU_PREFIX for local installs
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 21 Oct 2010 12:09:14 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 21 Oct 2010 12:09:14 -0500

View file

@ -19,6 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
LOG="$HOME"/.cache/notify-osd.log LOG="$HOME"/.cache/notify-osd.log
[ -z "$BYOBU_PREFIX" ] && BYOBU_PREFIX="/usr"
case "$1" in case "$1" in
--detail) --detail)
@ -29,4 +30,4 @@ esac
# This line operates basically as a daemon, watching the notify-osd log file, # This line operates basically as a daemon, watching the notify-osd log file,
# processing new messages and sending them to screen # processing new messages and sending them to screen
tail --pid $PPID -n 0 -F $LOG | /usr/lib/byobu/.notify_osd "$PPID" tail --pid $PPID -n 0 -F $LOG | $BYOBU_PREFIX/lib/byobu/.notify_osd "$PPID"