summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-20 15:00:01 +0200
committerErich Eckner <git@eckner.net>2017-09-20 15:00:01 +0200
commitace8e92396bb2f6f1be2fc83fa238ebff7956142 (patch)
treeb9cec19b91d8f767ea40c4a6ae4f62c7325a32ef /checkVersions
parentd192abc1093f4b91c730437e4dd648fa728c8cc8 (diff)
downloadarchlinuxewe-ace8e92396bb2f6f1be2fc83fa238ebff7956142.tar.xz
checkVersions kennt jetzt auch ttf-oxygen
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions35
1 files changed, 30 insertions, 5 deletions
diff --git a/checkVersions b/checkVersions
index e598addb3..84ee901c9 100755
--- a/checkVersions
+++ b/checkVersions
@@ -134,22 +134,22 @@ then
remVer='0.94'
elif [ "${pkgname}" = 'dcron' ]
then
- remVer="$(
+ remVer=$(
curl_it 'http://www.jimpryor.net/linux/dcron.html' | \
grep 'The current version is:' | \
tr '"' '\n' | \
grep '^releases/dcron-[0-9.]\+\.tar\.gz$' | \
sed 's|^releases/dcron-\([0-9.]\+\)\.tar\.gz$|\1|'
- )"
- elif [ "${pkgname}" == "pgplot-for-ifeffit" ]
+ )
+ elif [ "${pkgname}" = 'pgplot-for-ifeffit' ]
then
- remVer="$(
+ remVer=$(
curl_it "ftp://ftp.astro.caltech.edu/pub/pgplot/" | \
grep "\spgplot[0-9.]\+\.tar\.gz -> \S\+\$" | \
sed "s|^.*\spgplot\([0-9.]\+\)\.tar\.gz -> \S\+\$|\1|" | \
sort -V | \
tail -n1
- )"
+ )
elif [ "${pkgname}" == "wurzel-old" ]
then
remVer="0.1"
@@ -560,6 +560,31 @@ then
[ -n "${remVer}" ] && break
done
elif echo "${src}" | \
+ grep -q '^https://download\.kde\.org/stable/plasma/'
+ then
+ remVerz=$(
+ echo "${src}" | \
+ sed 's|\(/[^/]\+\)\{2\}$|/|'
+ )
+ for mainVer in $(
+ curl_it "${remVerz}" | \
+ tr '"' '\n' | \
+ grep '^[0-9.]\+/$' | \
+ sed 's|/$||' | \
+ sort -Vr
+ )
+ do
+ remVer=$(
+ curl_it "${remVerz}${mainVer}/" | \
+ tr '"' '\n' | \
+ grep '^oxygen-fonts-[0-9.]\+\.tar\.xz$' | \
+ sed 's|^oxygen-fonts-\([0-9.]\+\)\.tar\.xz$|\1|' | \
+ sort -V | \
+ tail -n1
+ )
+ [ -n "${remVer}" ] && break
+ done
+ elif echo "${src}" | \
grep -q '^http://download\.linuxaudio\.org/lilypond/sources/'
then
remVerz="$(