Lucio Andrés Illanes Albornoz (arab, vxp) 448904
#
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
# . ./build.vars and set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
#
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
pkg_apk_tools_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fname="${cu_url##*/}";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fname_base="apk-tools";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fname_ext="${cu_fname#${cu_fname_base}-${cu_version}.}";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_url_index="http://git.alpinelinux.org/cgit/apk-tools/";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
			sed -n '//s/^.*
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fname_version="${cu_fname#apk-tools-}";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
};
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
pkg_bzip2_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_url_index="http://www.bzip.org/";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
			sed -n '/

The current version is 1.0.6<\/b>/s/^.*

The current version is \(.\+\)<\/b>.*$/bzip2-\1/p')";

Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		cu_fname_version="${cu_fname#bzip2-}";
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
};
Lucio Andrés Illanes Albornoz (arab, vxp) 0bb2fe
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_infounzip_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname="${cu_url##*/}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_base="${cu_fname%%[0-9]*}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_ext="${cu_fname#${cu_fname_base}${cu_version}.}";
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
		cu_url_index="${cu_url%/*}/";
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}"					|\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
			sed -n '/[hH][rR][eE][fF]="[^"]\+"/s/^.*[hH][rR][eE][fF]="\([^"]\+\)".*$/\1/p'	|\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
			grep -Ev '/(zip232|unzip552)\..+$')";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		if [ "${cu_fname#${cu_fname_base}}" != "${cu_fname}" ]\
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		&& [ "${cu_fname%.${cu_fname_ext}}" != "${cu_fname}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			cu_fname_version="${cu_fname%.${cu_fname_ext}}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			cu_fname_version="${cu_fname_version#*zip*}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_infozip_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	pkg_infounzip_check_updates "${@}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
pkg_john_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
		cu_url_index="${cu_url%/*}/";
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}"					|\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
			sed -n '/[hH][rR][eE][fF]="[^"]\+"/s/^.*[hH][rR][eE][fF]="\([^"]\+\)".*$/\1/p'	|\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
			grep -Ev 'john-.+-jumbo-.+\.')";
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
};
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
pkg_less_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
		cu_url_index="http://www.greenwoodsoftware.com/less/";
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
			sed -n '/The current released version is less-[0-9]\+/s/^.*The current released version is less-\([0-9]\+\).*$/less-\1/p')";
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
		cu_fname_version="${cu_fname#less-}";
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
};
Lucio Andrés Illanes Albornoz (arab, vxp) a85721
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_libgpg_error_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_url_index="${cu_url%/*}/";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}"	|\
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			sed -n '/href="[^"]\+"/s/^.*href="\([^"]\+\)".*$/\1/p')";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_base="libgpg-error";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
pkg_lynx_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname="${cu_url##*/}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname_base="lynx";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname_ext="${cu_fname#${cu_fname_base}${cu_version}.}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		if [ "${cu_fname#${cu_fname_base}-cur}" = "${cu_fname}" ]\
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		&& [ "${cu_fname#*rel\.}" != "${cu_fname}" ]\
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		&& [ "${cu_fname#${cu_fname_base}}" != "${cu_fname}" ]\
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		&& [ "${cu_fname%.${cu_fname_ext}}" != "${cu_fname}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
			cu_fname_version="${cu_fname%.${cu_fname_ext}}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
			cu_fname_version="${cu_fname_version#lynx}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
};
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_libpthread_stubs_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_base="libpthread-stubs";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
pkg_man_db_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
		cu_fname="${cu_url##*/}";
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
		cu_fname_base="man-db";
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
		cu_fname_ext="${cu_fname#${cu_fname_base}-${cu_version}.}";
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
};
Lucio Andrés Illanes Albornoz (arab, vxp) 40a5fc
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_mksh_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		if [ "${cu_fname#${cu_fname_base}-}" != "${cu_fname}" ]\
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		&& [ "${cu_fname%.${cu_fname_ext}}" != "${cu_fname}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			cu_fname_version="${cu_fname%.${cu_fname_ext}}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			cu_fname_version="${cu_fname_version#*-R}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	version_fixup)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_version="${cu_version#R}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
pkg_pacman_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname="${cu_url##*/}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname_base="pacman";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname_ext="${cu_fname#${cu_fname_base}-${cu_version}.}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_url_index="https://git.archlinux.org/pacman.git/";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
			sed -n '//s/^.*
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		cu_fname_version="${cu_fname#pacman-}";
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
};
Lucio Andrés Illanes Albornoz (arab, vxp) 4c0b4b
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
pkg_procps_ng_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
		cu_url_index="https://gitlab.com/procps-ng/procps/tags/";
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
			sed -n '/
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
		cu_fname_version="${cu_fname}";
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
};
Lucio Andrés Illanes Albornoz (arab, vxp) 42c3b3
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_rxvt_unicode_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_base="rxvt-unicode";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_the_silver_searcher_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_url_index="http://geoff.greer.fm/ag/";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fnames="$(wget ${WGET_ARGS} -qO- ${cu_url_index}		|\
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			sed -n '/href="[^"]\+"/{s/^.*href="\([^"]\+\)".*$/\1/;s/\/$//;p}')";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
pkg_tmux_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
		cu_url_index="https://github.com/tmux/tmux/releases/";
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
			sed -n '/
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
};
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
Lucio Andrés Illanes Albornoz (arab, vxp) e59c69
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_util_linux_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_base="util-linux";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_url_index="https://www.kernel.org/pub/linux/utils/util-linux/";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fnames="$(wget ${WGET_ARGS} -qO- ${cu_url_index}		|\
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			sed -n '/href="[^"]\+"/{s/^.*href="\([^"]\+\)".*$/\1/;s/\/$//;p}')";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_version)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		if [ "${cu_fname#${cu_fname_base}-}" = "${cu_fname}" ]\
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		&& [ "${cu_fname%.${cu_fname_ext}}" = "${cu_fname}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			cu_fname_version="${cu_fname%.${cu_fname_ext}}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
			cu_fname_version="${cu_fname_version#v}";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
pkg_xcb_proto_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		cu_fname_base="xcb-proto";
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
};
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
pkg_zsh_check_updates() {
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
	case "${1}" in
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
	get_fnames)
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
		cu_url_index="${cu_url%/*}/";
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
		cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}"					|\
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
			sed -n '/[hH][rR][eE][fF]="[^"]\+"/s/^.*[hH][rR][eE][fF]="\([^"]\+\)".*$/\1/p'	|\
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
			grep -v -- "-doc")";
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
	esac;
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
};
Lucio Andrés Illanes Albornoz (arab, vxp) fa4cc0
Lucio Andrés Illanes Albornoz (arab, vxp) 448904
# vim:filetype=sh