diff options
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index 18cd389e..0c1584a9 100755 --- a/checkVersions +++ b/checkVersions @@ -183,6 +183,19 @@ then sort -V | \ tail -n1 )" + remHash="$( + curl "${qu}${remVer}" 2> /dev/null | \ + tr '"#' '\n' | \ + grep -m1 "^https://pypi\.python\.org/packages/.*/[0-9a-f]\{60\}/${pkgname#*-}-${remVer}\.tar\.\(gz\|bz2\|xz\)\$" | \ + sed 's|/[^/]\+$|/|; s|^https://pypi\.python\.org/packages/|/|' + )" + locHash="$( + echo "${src}" | \ + sed 's|/[^/]\+$|/|; s|^https://pypi\.python\.org/packages/|/|' + )" + ${maschinenlesbar} && \ + [ "${remHash}" != "${locHash}" ] && \ + echo "sedExtra='s@${locHash}@${remHash}@g;'" elif echo "${src}" | \ grep -q "//bundles\.openttdcoop\.org/" then |