diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6b9edb4..c2964cc 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -52,7 +52,7 @@ check_news() { # url for news file local newsFile="https://stormgames.wolfe.casa/media/agm.ogg" local newsPath="${configFile%/*.conf}/.news" - local newsTag="$(curl --connect-timeout 3 -sI "$newsFile" | grep 'etag: "' | cut -d '"' -f2)" + local newsTag="$(curl --connect-timeout 15 -sI "$newsFile" | grep 'etag: "' | cut -d '"' -f2)" local newsOldTag="$(cat "$newsPath" 2> /dev/null)" if [[ "$newsTag" != "$newsOldTag" ]]; then dialog --yes-label 'Play' \