summaryrefslogtreecommitdiffhomepage
path: root/vars/check_updates.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-11-18 16:06:57 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-11-18 16:06:57 +0100
commitfa4cc0616277b847c62d698941e1ad83f905ae05 (patch)
tree42f095e066f14ffc4ab9d97e0e75800eece0cb7b /vars/check_updates.vars
parent42c3b3b75dc05c104c848ed1f8bf6fe9557a8e28 (diff)
downloadmidipix_build-fa4cc0616277b847c62d698941e1ad83f905ae05.tar.bz2
midipix_build-fa4cc0616277b847c62d698941e1ad83f905ae05.tar.xz
subr/check_updates.subr: fix zsh.
Diffstat (limited to 'vars/check_updates.vars')
-rw-r--r--vars/check_updates.vars11
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