make assignment of URL consistent
This commit is contained in:
parent
918d8cab1d
commit
076289c529
3
quickget
3
quickget
@ -178,14 +178,13 @@ function check_links() {
|
||||
else
|
||||
if [[ $(type -t "editions_${FUNC}") == function ]]; then
|
||||
for EDITY in $("editions_${FUNC}"); do
|
||||
URL=$(get_"${FUNC}" | cut -d " " -f1)
|
||||
URL=$(get_"${OSORUBUNTU}" | cut -d " " -f1)
|
||||
CHECK=$(curl -o /dev/null --silent --head -L --write-out '%{http_code}\t%{content_type}' "${URL}")
|
||||
if [[ -n "${ZCHECK}" ]] ; then
|
||||
ZCHECK=$(curl -o /dev/null --silent --head -L --write-out '%{http_code}\t%{content_type}' "${URL}.zsync")
|
||||
echo "$FUNC $RELEASE $EDITY ${ZCHECK} ${URL}.zsync"
|
||||
fi
|
||||
echo "$FUNC $RELEASE $EDITY ${CHECK} $URL"
|
||||
|
||||
done
|
||||
else
|
||||
URL=$(get_"${OSORUBUNTU}" | cut -d " " -f1)
|
||||
|
Loading…
Reference in New Issue
Block a user