From d91a40de3ea7b6aaff19c23e9225f791f0dc91cf Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 23 Jan 2020 08:32:18 +0100 Subject: [PATCH] Browscap fixes --- debian/changelog | 2 +- package.json | 2 +- utils/update-browscap.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index f4f5ae39..435415ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.97) stable; urgency=low +hedera-web (1.406.98) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index eb815151..2f53db30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.97", + "version": "1.406.98", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/utils/update-browscap.sh b/utils/update-browscap.sh index 859f1e93..2a7e4502 100755 --- a/utils/update-browscap.sh +++ b/utils/update-browscap.sh @@ -9,11 +9,11 @@ if [ -f "$versionFile" ]; then currentVersion=$(cat "$phpCfgDir/browscap.version") fi -lastVersion=$(wget --quiet -O - http://browscap.org/version-number) +lastVersion=$(curl -s http://browscap.org/version-number) if [ "$lastVersion" -gt "$currentVersion" ] || [ ! -f "$browscapFile" ]; then echo -n "$lastVersion" > "$versionFile" - wget --quiet -O "$browscapFile" https://browscap.org/stream?q=Lite_PHP_BrowsCapINI + curl -s -o "$browscapFile" https://browscap.org/stream?q=Lite_PHP_BrowsCapINI echo "Browscap updated." else echo "Browscap up to date."