diff mbox series

[LEDE-DEV,uclient] uclient-fetch: use package name pattern in message for missing SSL library

Message ID 1516913625-13460-1-git-send-email-mhei@heimpold.de
State Accepted
Delegated to: John Crispin
Headers show
Series [LEDE-DEV,uclient] uclient-fetch: use package name pattern in message for missing SSL library | expand

Commit Message

Michael Heimpold Jan. 25, 2018, 8:53 p.m. UTC
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@heimpold.de>
---
 uclient-fetch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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);