diff options
-rw-r--r-- | vars/check_updates.vars | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vars/check_updates.vars b/vars/check_updates.vars index d7ad5bea..07ade3b8 100644 --- a/vars/check_updates.vars +++ b/vars/check_updates.vars @@ -52,6 +52,19 @@ pkg_infozip_check_updates() { pkg_infounzip_check_updates "${@}"; }; +pkg_less_check_updates() { + case "${1}" in + get_fnames) + cu_url_index="http://www.greenwoodsoftware.com/less/"; + cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\ + sed -n '/The current released version is less-[0-9]\+/s/^.*The current released version is less-\([0-9]\+\).*$/less-\1/p')"; + ;; + get_version) + cu_fname_version="${cu_fname#less-}"; + ;; + esac; +}; + pkg_libgpg_error_check_updates() { case "${1}" in get_fnames) |