mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23: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
|
- super handy, minimal way of awking out a particular column
|
||||||
* usr/bin/Makefile.am, usr/share/man/man1/Makefile.am:
|
* usr/bin/Makefile.am, usr/share/man/man1/Makefile.am:
|
||||||
- update automake files to install new utilities
|
- 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
|
-- 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
|
# 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 $BYOBU_TEST ccze -A >/dev/null 2>&1; then
|
if command -v ccze >/dev/null 2>&1; then
|
||||||
tail -F $@ | ccze -A
|
tail -F $@ | ccze -A
|
||||||
else
|
else
|
||||||
echo "ERROR: ccze not found, hint..." 1>&2
|
echo "ERROR: ccze not found, hint..." 1>&2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue