when configure with --disable-gpg, no message complain about the signature stuff.
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 26 Dec 2008 07:07:21 +0000 (07:07 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 26 Dec 2008 07:07:21 +0000 (07:07 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@189 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/opkg_cmd.c
libopkg/opkg_download.c

index 518493e9034fffbcff7954af5d3387d5805495a4..411bb72a45795c05d603d106cf6b5978e4247c07 100644 (file)
@@ -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);
      }
index 04073cf593f3659acd6749d8c76cd6ac888b2fd7..bc1cfafc3e3bbaeca8ff6be7f7883e8f51508344 100644 (file)
@@ -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
 }