pull: mention libcurl in NOT_SUPPORTED pull path

Since it's now possible to build without libsoup but still have HTTP
functionality.

Closes: #1082
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2017-08-16 09:10:39 -04:00 committed by Atomic Bot
parent fa3a31af92
commit c0e20861d5

View File

@ -5662,7 +5662,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
GError **error)
{
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
"This version of ostree was built without libsoup, and cannot fetch over HTTP");
"This version of ostree was built without libsoup or libcurl, and cannot fetch over HTTP");
return FALSE;
}
@ -5676,7 +5676,7 @@ ostree_repo_remote_fetch_summary_with_options (OstreeRepo *self,
GError **error)
{
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
"This version of ostree was built without libsoup, and cannot fetch over HTTP");
"This version of ostree was built without libsoup or libcurl, and cannot fetch over HTTP");
return FALSE;
}