From 48590b09b0bb8655e87f816975361f776b808ee7 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 27 Jun 2011 13:18:06 +0000 Subject: [PATCH] * usr/bin/byobu-status: - import constants --- debian/changelog | 2 ++ usr/bin/byobu-status | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index a4ed75b2..cabb800e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,8 @@ byobu (4.14) unreleased; urgency=low * usr/bin/byobu-status, usr/lib/byobu/.constants, usr/lib/byobu/Makefile.am, usr/lib/byobu/.shutil: - add copyright headers, install constants + * usr/bin/byobu-status: + - import constants -- Dustin Kirkland Thu, 16 Jun 2011 16:16:29 -0500 diff --git a/usr/bin/byobu-status b/usr/bin/byobu-status index e70039f3..baa0ee38 100755 --- a/usr/bin/byobu-status +++ b/usr/bin/byobu-status @@ -28,6 +28,12 @@ if ! . "${BYOBU_PREFIX}/lib/${PKG}/.shutil"; then exit 1 fi +if ! . "${BYOBU_PREFIX}/lib/${PKG}/.constants"; then + echo "failed to source ${BYOBU_PREFIX}/lib/${PKG}/.constants" 2>&1 + echo "If you have installed elsewhere, export BYOBU_PREFIX in your shell" 2>&1 + exit 1 +fi + # Define colors ESC="\005" color() {