This commit is contained in:
Beefki 2017-10-27 17:43:26 -05:00
parent 493ca63f07
commit b889572306

View File

@ -86,7 +86,8 @@ impl<'a> PackageManager<'a> {
exe: PathBuf::from("bin/xbps-install"), exe: PathBuf::from("bin/xbps-install"),
} }
} }
// Allows setting the default in rux.conf // Allows setting the default `rux.conf` in folder `.config/rux/` in the
// user's home directory. Will ask once per user, including sudo.
pub fn set_default(&self) -> std::io::Result<()> { pub fn set_default(&self) -> std::io::Result<()> {
let mut conf = match env::home_dir() { let mut conf = match env::home_dir() {
Some(path) => path, Some(path) => path,