diff options
Diffstat (limited to 'vars')
-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 782889b5..29a1b73b 100644 --- a/vars/check_updates.vars +++ b/vars/check_updates.vars @@ -212,4 +212,15 @@ pkg_xcb_proto_check_updates() { esac; }; +pkg_zsh_check_updates() { + case "${1}" in + get_fnames) + cu_url_index="${cu_url%/*}/"; + cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\ + sed -n '/[hH][rR][eE][fF]="[^"]\+"/s/^.*[hH][rR][eE][fF]="\([^"]\+\)".*$/\1/p' |\ + grep -v -- "-doc")"; + ;; + esac; +}; + # vim:filetype=sh |