From: Michael Andres Date: Tue, 30 Aug 2011 09:47:21 +0000 (+0200) Subject: Restore default behavior for newly create repos to have gpg checks enabled (bnc#71491... X-Git-Tag: 1.6.15~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3375457382d05c26e66f20647ebec2d94becd99c;p=platform%2Fupstream%2Fzypper.git Restore default behavior for newly create repos to have gpg checks enabled (bnc#714910,bnc#524787) --- diff --git a/src/Zypper.cc b/src/Zypper.cc index 316fb9f..cd63f3e 100644 --- a/src/Zypper.cc +++ b/src/Zypper.cc @@ -2876,21 +2876,21 @@ void Zypper::doCommand() // indeterminate indicates the user has not specified the values - TriBool enabled = indeterminate; + TriBool enabled( indeterminate ); if (copts.count("disable")) enabled = false; - TriBool autorefresh = indeterminate; + TriBool autorefresh( indeterminate ); if (copts.count("refresh")) autorefresh = true; - TriBool keep_pkgs; + TriBool keep_pkgs( indeterminate ); if (copts.count("keep-packages")) keep_pkgs = true; else if (copts.count("no-keep-packages")) keep_pkgs = false; - TriBool gpgCheck; + TriBool gpgCheck( indeterminate ); if (copts.count("gpgcheck")) gpgCheck = true; else if (copts.count("no-gpgcheck"))