]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
disable updating insecure repositories in apt by default
[apt.git] / apt-private / private-cmndline.cc
index 463c087cc701749c25f26e68f80f34dfdd24586f..9f019121cec31dc14166c10c7ac073218fbae352 100644 (file)
@@ -332,6 +332,7 @@ static void BinarySpecificConfiguration(char const * const Binary)  /*{{{*/
       _config->CndSet("Binary::apt::APT::Get::Upgrade-Allow-New", true);
       _config->CndSet("Binary::apt::APT::Cmd::Show-Update-Stats", true);
       _config->CndSet("Binary::apt::DPkg::Progress-Fancy", true);
+      _config->CndSet("Binary::apt::Acquire::AllowInsecureRepositories", false);
    }
 
    _config->Set("Binary", binary);