summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions12
1 files changed, 10 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index a97c4dd5..3eef2a6f 100755
--- a/checkVersions
+++ b/checkVersions
@@ -12,7 +12,7 @@ usage() {
curl_it() {
local source="$1"
shift
- curl --connect-timeout 10 -s "$@" "${source}"
+ curl --compressed --connect-timeout 10 -s "$@" "${source}"
}
me="$(readlink -f $0)"
@@ -121,7 +121,15 @@ then
sort -V | \
tail -n1
)"
- elif [ "${pkgname}" == "g95" ]
+ elif [ "${pkgname}" = 'tightvnc' ]
+ then
+ remVer=$(
+ curl_it 'https://www.tightvnc.com/download-old.php' | \
+ tr '"' '\n' | \
+ grep -x 'https://www\.tightvnc\.com/download/\([0-9.]\+\)/tightvnc-\1_unixsrc\.tar\.bz2' | \
+ sed 's|^https://www\.tightvnc\.com/download/\([0-9.]\+\)/tightvnc-\1_unixsrc\.tar\.bz2$|\1|'
+ )
+ elif [ "${pkgname}" = 'g95' ]
then
remVer='0.94'
elif [ "${pkgname}" = 'dcron' ]