summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/check_updates.vars13
1 files changed, 13 insertions, 0 deletions
diff --git a/vars/check_updates.vars b/vars/check_updates.vars
index f8ca5a83..782889b5 100644
--- a/vars/check_updates.vars
+++ b/vars/check_updates.vars
@@ -144,6 +144,19 @@ pkg_pacman_check_updates() {
esac;
};
+pkg_procps_ng_check_updates() {
+ case "${1}" in
+ get_fnames)
+ cu_url_index="https://gitlab.com/procps-ng/procps/tags/";
+ cu_fnames="$(wget ${WGET_ARGS} -qO- "${cu_url_index}" |\
+ sed -n '/<a href="\/procps-ng\/procps\/tags\/[^"]\+"/s/^.*<a href="\/procps-ng\/procps\/tags\/v\([^"]\+\)".*$/\1/p')";
+ ;;
+ get_version)
+ cu_fname_version="${cu_fname}";
+ ;;
+ esac;
+};
+
pkg_rxvt_unicode_check_updates() {
case "${1}" in
get_fnames)