uclient-fetch: use package name pattern in message for missing SSL library
authorMichael Heimpold <mhei@heimpold.de>
Thu, 25 Jan 2018 20:53:45 +0000 (21:53 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 12 Feb 2018 14:06:04 +0000 (15:06 +0100)
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

index 2e553a0..6961d94 100644 (file)
@@ -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);