From e59c6946d1bca6a821b047a847bf84ec46da5cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 18 Nov 2016 15:53:09 +0100 Subject: subr/check_updates.subr: preliminary support for tmux. --- vars/check_updates.vars | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'vars/check_updates.vars') diff --git a/vars/check_updates.vars b/vars/check_updates.vars index 74e375d4..f8ca5a83 100644 --- a/vars/check_updates.vars +++ b/vars/check_updates.vars @@ -162,6 +162,17 @@ pkg_the_silver_searcher_check_updates() { esac; }; +pkg_tmux_check_updates() { + case "${1}" in + get_fnames) + cu_url_index="https://github.com/tmux/tmux/releases/"; + cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\ + sed -n '/