diff options
Diffstat (limited to 'src/config.rs')
| -rw-r--r--[-rwxr-xr-x] | src/config.rs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/config.rs b/src/config.rs index 9a4a22e..e4ffdaf 100755..100644 --- a/src/config.rs +++ b/src/config.rs @@ -219,18 +219,19 @@ impl Config { pub fn create_default_config(path: &Path) -> std::io::Result<()> { let ini = concat!( "[global]\n", - "ignore_speed = false\n", + "ignore_speed = true\n", "strict_gpg = false\n", + "allow_external_binaries = true\n", "parallel_downloads = 4\n", "arch = x86_64\n", - "libc = glibc\n", + "libc = glibc\n\n", "[repositories.rorkos]\n", - "url = \"https://\"\n", - "urlrepo = \"https://\"\n", - "mirror = \"https://\"\n", - "gpg_support = true\n", - "gpg_key = \"rorka.pub\"\n", + "url = \"https://rorkos.duckdns.org/pkg/\"\n", + "urlrepo = \"https://rorkos.duckdns.org/pkg/\"\n", + "mirror = \"https://rorkos.duckdns.org/pkg/\"\n", + "gpg_support = false\n", ); + fs::create_dir_all(path.parent().unwrap())?; let mut tmp = NamedTempFile::new_in(path.parent().unwrap_or(Path::new(".")))?; tmp.write_all(ini.as_bytes())?; |