diff options
| author | rorka900 <rorka900@gmail.com> | 2026-03-30 18:32:47 +0000 |
|---|---|---|
| committer | rorka900 <rorka900@gmail.com> | 2026-03-30 18:32:47 +0000 |
| commit | d348081a48c0849e60bc2898c8ee215f896d1414 (patch) | |
| tree | 0a42ae7dc81735f9e53cacb05a0501b120f51fde /src/repo.rs | |
| parent | 700f13b3d404cd03db17f0bfc99c83941a907a76 (diff) | |
| download | ror-d348081a48c0849e60bc2898c8ee215f896d1414.tar.gz ror-d348081a48c0849e60bc2898c8ee215f896d1414.zip | |
feat: add musl support and dictionary-compressed ror package format
Diffstat (limited to 'src/repo.rs')
| -rw-r--r-- | src/repo.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/repo.rs b/src/repo.rs index bd87ea5..0de55c5 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -1,4 +1,3 @@ - use colored::Colorize; use std::fs; use std::path::Path; @@ -46,11 +45,8 @@ pub fn list_repositories() { } fn save_config(cfg: &Config) -> Result<(), String> { - let path = Path::new("/var/ror/ror.conf"); + let path = Path::new("/etc/ror/ror.conf"); let ini = cfg.to_ini().map_err(|e| format!("Failed to serialize config: {}", e))?; fs::write(path, ini).map_err(|e| format!("Failed to write config: {}", e))?; Ok(()) } - - - |