Firmware download: skip architecture if not found
Contents-all.gz does not seem to exist on Buster, so don't fail if wget doesn't find the file. Closes: #986278
This commit is contained in:
parent
57f2cc1cd6
commit
93ab49f927
|
@ -40,6 +40,10 @@ Firmware_List_From_Contents () {
|
|||
# If not cached, download
|
||||
if [ ! -e "${CONTENTS_FILE}" ]
|
||||
then
|
||||
# Contents-all.gz does not exist in Buster and other older versions
|
||||
if ! wget --quiet --spider ${WGET_OPTIONS} "${CONTENTS_URL}"; then
|
||||
continue
|
||||
fi
|
||||
wget ${WGET_OPTIONS} "${CONTENTS_URL}" -O "${CONTENTS_FILE}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue