summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-26 02:07:21 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-26 02:07:21 (EST)
commit21eb7f75a568f0c6e44836b89ca57f5d7846f5dc (patch)
tree8f41675a936acb6a5b8015ccc04d194ab37cd6b0
parentc47de3655a9329260b94cec745eec3c460aa1057 (diff)
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
-rw-r--r--libopkg/opkg_cmd.c3
-rw-r--r--libopkg/opkg_download.c1
2 files changed, 1 insertions, 3 deletions
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
}