From 21eb7f75a568f0c6e44836b89ca57f5d7846f5dc Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Fri, 26 Dec 2008 02:07:21 -0500 Subject: 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 } -- cgit v0.9.1