From f7e62bbde27738b986e483917bee10e65a5be2de Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 2 Nov 2010 18:06:13 -0500 Subject: [PATCH] use BYOBU_PREFIX for local installs --- debian/changelog | 1 + usr/lib/byobu/notify_osd | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d1b2d88d..6671c3eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ byobu (3.7) unreleased; urgency=low - add per-pid notifier monitors, terminate when screen terminates - allow for disabling the notify_osd status; must handle in the perl script + - use BYOBU_PREFIX for local installs -- Dustin Kirkland Thu, 21 Oct 2010 12:09:14 -0500 diff --git a/usr/lib/byobu/notify_osd b/usr/lib/byobu/notify_osd index e6d35237..e1812cd3 100755 --- a/usr/lib/byobu/notify_osd +++ b/usr/lib/byobu/notify_osd @@ -19,6 +19,7 @@ # along with this program. If not, see . LOG="$HOME"/.cache/notify-osd.log +[ -z "$BYOBU_PREFIX" ] && BYOBU_PREFIX="/usr" case "$1" in --detail) @@ -29,4 +30,4 @@ esac # This line operates basically as a daemon, watching the notify-osd log file, # 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"