diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-31 10:34:46 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-31 10:34:46 +0000 |
| commit | f2b80122a11d2c04692653489af6c2d4a5a9fbf4 (patch) | |
| tree | ae5a331095b008f91e37492e4e5e1295fc419927 | |
| parent | 2ac621bdb341809baf1966be8652b3bea9cd6368 (diff) | |
adding repos as repositories["name"] instead of repositories.name
| -rw-r--r-- | src/add_repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add_repo.c b/src/add_repo.c index 049347c..0644f75 100644 --- a/src/add_repo.c +++ b/src/add_repo.c @@ -26,7 +26,7 @@ void add_repo(const char *repo, const char *repo_name) { FILE *wfile = fopen(repo_file, "w"); if (wfile) { - fprintf(wfile, "%srepositories.%s = { url = \"%s\" }\n", previous_repos, repo_name, repo); + fprintf(wfile, "%srepositories[\"%s\"] = { url = \"%s\" }\n", previous_repos, repo_name, repo); fclose(wfile); } |
