[LEDE-DEV] [PATCH uclient] uclient-fetch: use package name pattern in message for missing SSL library
Michael Heimpold
mhei at heimpold.de
Thu Jan 25 12:53:45 PST 2018
When faced with this error message, I did not directly know what
package(s) to install. I first grepped the package list for packages
named libustream-ssl... found nothing, and finally realized, that here
only the library name was mentioned.
But when we mention the certificate packages, why not also directly
mention the SSL/TLS packages with a pattern. That will save one step
next time when stumbling here - at least for me ;-)
Signed-off-by: Michael Heimpold <mhei at heimpold.de>
---
uclient-fetch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uclient-fetch.c b/uclient-fetch.c
index 2e553a0..6961d94 100644
--- a/uclient-fetch.c
+++ b/uclient-fetch.c
@@ -494,7 +494,7 @@ static int no_ssl(const char *progname)
{
fprintf(stderr,
"%s: SSL support not available, please install one of the "
- "libustream-ssl-* libraries as well as the ca-bundle and "
+ "libustream-.*[ssl|tls] packages as well as the ca-bundle and "
"ca-certificates packages.\n",
progname);
--
2.7.4
More information about the Lede-dev
mailing list