From 1a3b512069e4b8b7150816e3bc92af0e6057fd77 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Sun, 30 Nov 2014 19:29:46 +0000 Subject: [PATCH] update_check.sh: support for kernels --- common/xbps-src/shutils/update_check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index ee12d446786..e05406f9d30 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -46,6 +46,8 @@ update_check() { *ftp.gnome.org*) : ${update_pattern="$update_pkgname-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"} url="http://ftp.gnome.org/pub/GNOME/sources/$update_pkgname/cache.json";; + *kernel.org/pub/linux/kernel/*) + rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';; esac fi