Don't require checksum for inline data

This fixes a regression from ac38819106

Closes: #79
Approved by: pwithnall
tingping/wmclass
Alexander Larsson 2017-12-08 11:43:12 +01:00 committed by Atomic Bot
parent ac38819106
commit 5a6a3a830b
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ builder_source_file_download (BuilderSource *source,
return FALSE;
}
if (checksums[0] == NULL)
if (checksums[0] == NULL && !is_inline)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "No checksum specified for file source %s", base_name);
return FALSE;