Fixed a bug with the default download check.
This commit is contained in:
parent
a8833aa173
commit
0a1a130399
@ -324,6 +324,8 @@ download() {
|
|||||||
# Add HTML check for other file types
|
# Add HTML check for other file types
|
||||||
if file -b "${cache}/${dest}" | grep -q "HTML document" ; then
|
if file -b "${cache}/${dest}" | grep -q "HTML document" ; then
|
||||||
echo "File not found: \"$i\" (HTML document probably 404)"
|
echo "File not found: \"$i\" (HTML document probably 404)"
|
||||||
|
downloadError=1
|
||||||
|
else
|
||||||
downloadError=0
|
downloadError=0
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user