]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
add insecure (and weak) allow-options for sources.list
[apt.git] / apt-pkg / init.cc
index c77e8e2feddead88a9fcd8ae6c2a948048e7ea9b..70a119a6efd1064ce81a310fe8ca0ef7a062fb7c 100644 (file)
@@ -87,6 +87,7 @@ bool pkgInitConfig(Configuration &Cnf)
 
    // Repository security
    Cnf.CndSet("Acquire::AllowInsecureRepositories", false);
+   Cnf.CndSet("Acquire::AllowWeakRepositories", false);
    Cnf.CndSet("Acquire::AllowDowngradeToInsecureRepositories", false);
 
    // Default cdrom mount point