Comments
This commit is contained in:
parent
493ca63f07
commit
b889572306
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user