diff options
-rw-r--r-- | vars/check_updates.vars | 11 |
1 files changed, 11 insertions, 0 deletions
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 '/<a href="\/tmux\/tmux\/releases\/tag\//s/^.*<a href="\/tmux\/tmux\/releases\/tag\/\(.\+\)".*$/\1/p')"; + ;; + esac; +}; + + pkg_util_linux_check_updates() { case "${1}" in get_fnames) |