* usr/bin/byobu, usr/bin/byobu-status:

- remove some redundancies
This commit is contained in:
Dustin Kirkland 2011-06-29 08:10:09 +00:00
commit 441d694f1f
3 changed files with 3 additions and 16 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (4.18) unreleased; urgency=low byobu (4.18) unreleased; urgency=low
* UNRELEASED * usr/bin/byobu, usr/bin/byobu-status:
- remove some redundancies
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jun 2011 02:26:28 +0000 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jun 2011 02:26:28 +0000

View file

@ -21,9 +21,7 @@ VERSION=4.18
PKG="byobu" PKG="byobu"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX [ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/.shutil" . "${BYOBU_PREFIX}/lib/${PKG}/.common"
. "${BYOBU_PREFIX}/lib/${PKG}/.constants"
# Add a version argument for debugging purposes # Add a version argument for debugging purposes
if [ "$#" = "1" ]; then if [ "$#" = "1" ]; then

View file

@ -21,18 +21,6 @@ PKG="byobu"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX [ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/.common" . "${BYOBU_PREFIX}/lib/${PKG}/.common"
if ! . "${BYOBU_PREFIX}/lib/${PKG}/.shutil"; then
echo "failed to source ${BYOBU_PREFIX}/lib/${PKG}/.shutil" 2>&1
echo "If you have installed elsewhere, export BYOBU_PREFIX in your shell" 2>&1
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 # Define colors
ESC="\005" ESC="\005"
color() { color() {