mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu, usr/bin/byobu-status:
- remove some redundancies
This commit is contained in:
parent
470e8ce48b
commit
441d694f1f
3 changed files with 3 additions and 16 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
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
|
||||
|
||||
|
|
|
@ -21,9 +21,7 @@ VERSION=4.18
|
|||
|
||||
PKG="byobu"
|
||||
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX
|
||||
. "${BYOBU_PREFIX}/lib/${PKG}/.shutil"
|
||||
. "${BYOBU_PREFIX}/lib/${PKG}/.constants"
|
||||
|
||||
. "${BYOBU_PREFIX}/lib/${PKG}/.common"
|
||||
|
||||
# Add a version argument for debugging purposes
|
||||
if [ "$#" = "1" ]; then
|
||||
|
|
|
@ -21,18 +21,6 @@ PKG="byobu"
|
|||
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX
|
||||
. "${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
|
||||
ESC="\005"
|
||||
color() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue