diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-02 16:47:08 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-02 16:47:08 +0000 |
| commit | d80025b93c65ab801b5d29499691c545e8baf186 (patch) | |
| tree | ef2783cff555ede62798d68c06e355fb31898f3f /src/add_repo.cc | |
| parent | 7322d59fef7958cc80604309804bc051243b9199 (diff) | |
can now require config files from config directory implicitly
Diffstat (limited to 'src/add_repo.cc')
| -rw-r--r-- | src/add_repo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add_repo.cc b/src/add_repo.cc index a0ab07d..1c66c94 100644 --- a/src/add_repo.cc +++ b/src/add_repo.cc @@ -22,7 +22,7 @@ void add_repo(std::string repo, std::string repo_name) { std::ofstream wfile; wfile.open(repo_file); - wfile << previous_repos << "repos." << repo_name << ".url = \"" << repo << "\"" << std::endl; + wfile << previous_repos << "repositories." << repo_name << " = { url = \"" << repo << "\" }" << std::endl; wfile.close(); std::cout << print_pkgit << green << "Added " << repo_name << color_reset << std::endl; |
