shutils/update_check.sh: add kde plasma update check

This commit is contained in:
John 2018-07-13 10:51:36 +02:00 committed by maxice8
parent 169c31801a
commit 8687925d70

View file

@ -63,7 +63,7 @@ update_check() {
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
*cran.r-project.org/src/contrib*)
rx='\b\Q'"${pkgname#R-cran-}"'\E_\K\d+(\.\d+)*(-\d+)?(?=\.tar)';;
*download.kde.org/stable/applications*|*download.kde.org/stable/frameworks*)
*download.kde.org/stable/applications*|*download.kde.org/stable/frameworks*|*download.kde.org/stable/plasma*)
url="${url%%${version%.*}*}"
rx='href="\K[\d\.]+(?=/")';;
esac