From: ticktock35 Date: Fri, 26 Dec 2008 07:07:21 +0000 (+0000) Subject: when configure with --disable-gpg, no message complain about the signature stuff. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21eb7f75a568f0c6e44836b89ca57f5d7846f5dc;p=oweals%2Fopkg-lede.git when configure with --disable-gpg, no message complain about the signature stuff. git-svn-id: http://opkg.googlecode.com/svn/trunk@189 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 518493e..411bb72 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -290,8 +290,7 @@ static int opkg_update_cmd(opkg_conf_t *conf, int argc, char **argv) free (tmp_file_name); free (url); #else - opkg_message (conf, OPKG_NOTICE, "Signature check for %s skipped " - "because GPG support was not enabled in this build\n", src->name); + // Do nothing #endif free(list_file_name); } diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index 04073cf..bc1cfaf 100644 --- a/libopkg/opkg_download.c +++ b/libopkg/opkg_download.c @@ -346,7 +346,6 @@ opkg_verify_file (opkg_conf_t *conf, char *text_file, char *sig_file) return status; #else - opkg_message (conf, OPKG_NOTICE, "Signature check for %s was skipped because GPG support was not enabled in this build\n"); return 0; #endif }