Signed-off-by: Pang Yan Han <pangyan...@gmail.com>
---
 src/pacman/conf.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 1ee0444..13707d0 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -225,11 +225,11 @@ int config_set_arch(const char *arch)
 static pgp_verify_t option_verifysig(const char *value)
 {
        pgp_verify_t level;
-       if(strcmp(value, "Always") == 0) {
+       if(strcmp(value, "Always") == 0 || strcmp(value, "always") == 0) {
                level = PM_PGP_VERIFY_ALWAYS;
-       } else if(strcmp(value, "Optional") == 0) {
+       } else if(strcmp(value, "Optional") == 0 || strcmp(value, "optional") 
== 0) {
                level = PM_PGP_VERIFY_OPTIONAL;
-       } else if(strcmp(value, "Never") == 0) {
+       } else if(strcmp(value, "Never") == 0 || strcmp(value, "never") == 0) {
                level = PM_PGP_VERIFY_NEVER;
        } else {
                level = PM_PGP_VERIFY_UNKNOWN;
-- 
1.7.6.rc0


Reply via email to