common/update_check.sh: accpeted mime types
This commit is contained in:
parent
c006e8e568
commit
68a11770aa
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ update_check() {
|
|||
if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||
echo "fetching $url" 1>&2
|
||||
fi
|
||||
curl -A "xbps-src-update-check/$XBPS_SRC_VERSION" --max-time 10 -Lsk "$url" |
|
||||
curl -H 'Accept: text/html,application/xhtml+xml,application/xml,text/plain' -A "xbps-src-update-check/$XBPS_SRC_VERSION" --max-time 10 -Lsk "$url" |
|
||||
grep -Po -i "$rx"
|
||||
done |
|
||||
tr _ . |
|
||||
|
|
Loading…
Reference in a new issue