summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-27 09:27:08 +0100
committerErich Eckner <git@eckner.net>2019-02-27 09:27:08 +0100
commit23d2b86ed6064d6f10d85e9275e52663d8a57311 (patch)
treefa9740d334d4e6273f0f0594340f9231b9162fde
parentf17d145d24a2dff9924c7c4799de564129e13010 (diff)
downloadarchlinuxewe.git.save-23d2b86ed6064d6f10d85e9275e52663d8a57311.tar.xz
checkVersions: exception for bareos: they have a higher version number in an older release !?
-rwxr-xr-xcheckVersions12
1 files changed, 11 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 1040fc13..847b1b02 100755
--- a/checkVersions
+++ b/checkVersions
@@ -199,7 +199,17 @@ then
src_name="${src%%::*}"
src="${src#*::}"
- if [ "${pkgname}" = 'pacman-static' ]
+ if [ "${pkgbase}" = 'bareos' ]; then
+ remVer=$(
+ curl_it 'https://github.com/bareos/bareos/releases' \
+ | sed '
+ s,^.* href="/bareos/bareos/archive/Release/\([0-9.]\+\)\.tar\.gz"\( [^>]*\)\?>.*$,\1,
+ t
+ d
+ ' \
+ | head -n1
+ )
+ elif [ "${pkgname}" = 'pacman-static' ]
then
git submodule update "${pkgname}"
eval "$(