diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-02 08:38:13 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-02 08:38:13 +0000 |
| commit | 44eb727dc537403be092326639a5b7c6d7182146 (patch) | |
| tree | 1459603e69496400c22f53dcec67ec2c3348400a /src/add_repo.cc | |
| parent | c555d4c25b5526c37e94ee2c593f34bdf28b159e (diff) | |
fixed like half of everything idk, you can install stuff now
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 c302b94..a0ab07d 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 << "\"] = \"" << repo << "\"" << std::endl; + wfile << previous_repos << "repos." << repo_name << ".url = \"" << repo << "\"" << std::endl; wfile.close(); std::cout << print_pkgit << green << "Added " << repo_name << color_reset << std::endl; |
