mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/bin/ctail:
- use command -v to test for ccze existence
This commit is contained in:
parent
3b128c00a3
commit
30ac9f70cd
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -15,6 +15,8 @@ byobu (5.81) unreleased; urgency=medium
|
|||
- super handy, minimal way of awking out a particular column
|
||||
* usr/bin/Makefile.am, usr/share/man/man1/Makefile.am:
|
||||
- update automake files to install new utilities
|
||||
* usr/bin/ctail:
|
||||
- use command -v to test for ccze existence
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 28 Apr 2014 09:36:59 -0700
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if $BYOBU_TEST ccze -A >/dev/null 2>&1; then
|
||||
if command -v ccze >/dev/null 2>&1; then
|
||||
tail -F $@ | ccze -A
|
||||
else
|
||||
echo "ERROR: ccze not found, hint..." 1>&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue