* usr/bin/byobu-export.in:

- Use echo if the gettext command is not available
This commit is contained in:
Jeffery To 2019-05-27 03:18:53 +08:00
commit c3d8f078c8
2 changed files with 9 additions and 1 deletions

2
debian/changelog vendored
View file

@ -24,6 +24,8 @@ byobu (5.128) unreleased; urgency=medium
usr/bin/byobu-janitor.in: usr/bin/byobu-janitor.in:
- Test if $HOME/.bashrc exists before modifying it (and potentially - Test if $HOME/.bashrc exists before modifying it (and potentially
creating it) creating it)
* usr/bin/byobu-export.in:
- Use echo if the gettext command is not available
* usr/bin/byobu.in: * usr/bin/byobu.in:
- Use readlink if the tty command is not available - Use readlink if the tty command is not available
* usr/bin/byobu-janitor.in: * usr/bin/byobu-janitor.in:

View file

@ -22,7 +22,13 @@ PKG="byobu"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX [ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/include/common" . "${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. The byobu-export utility is now deprecated.
To install byobu on a system for which byobu is not packaged, or To install byobu on a system for which byobu is not packaged, or