This commit is contained in:
Beefki 2017-10-27 17:43:26 -05:00
parent bbddf08b84
commit d2190b10cf

View File

@ -86,7 +86,8 @@ impl<'a> PackageManager<'a> {
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<()> {
let mut conf = match env::home_dir() {
Some(path) => path,