update_check.sh: support for kernels
This commit is contained in:
parent
848bfbb27d
commit
1a3b512069
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue