mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* usr/lib/byobu/.common, usr/lib/byobu/.constants:
- ensure that libraries only get included once
This commit is contained in:
parent
e1cbc181ab
commit
5a5a87d4bf
3 changed files with 8 additions and 3 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -15,6 +15,8 @@ byobu (4.18) unreleased; urgency=low
|
||||||
usr/share/byobu/profiles/tmux, usr/share/byobu/windows/common:
|
usr/share/byobu/profiles/tmux, usr/share/byobu/windows/common:
|
||||||
- use a BYOBU_BACKEND environment variable, to support both screen
|
- use a BYOBU_BACKEND environment variable, to support both screen
|
||||||
and tmux
|
and tmux
|
||||||
|
* usr/lib/byobu/.common, usr/lib/byobu/.constants:
|
||||||
|
- ensure that libraries only get included once
|
||||||
|
|
||||||
-- 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
|
||||||
|
|
||||||
|
|
|
@ -18,5 +18,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
if [ -z "${BYOBU_INCLUDED_LIBS}" ]; then
|
||||||
. "${BYOBU_PREFIX}/lib/${PKG}/.shutil"
|
. "${BYOBU_PREFIX}/lib/${PKG}/.shutil"
|
||||||
. "${BYOBU_PREFIX}/lib/${PKG}/.constants"
|
. "${BYOBU_PREFIX}/lib/${PKG}/.constants"
|
||||||
|
BYOBU_INCLUDED_LIBS=1
|
||||||
|
fi
|
||||||
|
|
|
@ -47,7 +47,7 @@ fi
|
||||||
# Some users build and install byobu themselves, rather than from a distro
|
# Some users build and install byobu themselves, rather than from a distro
|
||||||
[ -n "$BYOBU_PREFIX" ] || BYOBU_PREFIX="/usr"
|
[ -n "$BYOBU_PREFIX" ] || BYOBU_PREFIX="/usr"
|
||||||
|
|
||||||
# UTF8 support in the hardstatus is coming one day in screen
|
# UTF8 support in the hardstatus is coming one day in Screen
|
||||||
if [ "$UTF8" = "1" ]; then
|
if [ "$UTF8" = "1" ]; then
|
||||||
ICON_C="℃"
|
ICON_C="℃"
|
||||||
ICON_F="℉"
|
ICON_F="℉"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue