diff --git a/debian/changelog b/debian/changelog index 8a41f1ec..49a8eccd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,8 @@ byobu (5.128) unreleased; urgency=medium usr/bin/byobu-janitor.in: - Test if $HOME/.bashrc exists before modifying it (and potentially creating it) + * usr/bin/byobu-export.in: + - Use echo if the gettext command is not available * usr/bin/byobu.in: - Use readlink if the tty command is not available * usr/bin/byobu-janitor.in: diff --git a/usr/bin/byobu-export.in b/usr/bin/byobu-export.in index 916dccec..8b1d712f 100755 --- a/usr/bin/byobu-export.in +++ b/usr/bin/byobu-export.in @@ -22,7 +22,13 @@ PKG="byobu" [ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX . "${BYOBU_PREFIX}/lib/${PKG}/include/common" -gettext " +if eval $BYOBU_TEST gettext >/dev/null 2>&1; then + command=gettext +else + command=echo +fi + +$command " The byobu-export utility is now deprecated. To install byobu on a system for which byobu is not packaged, or