Cleaning up some comments
This commit is contained in:
parent
62a3387369
commit
faad2908a2
@ -23,8 +23,6 @@ fn main() {
|
|||||||
if Path::new("default.conf").is_file() {
|
if Path::new("default.conf").is_file() {
|
||||||
let pac = read_default();
|
let pac = read_default();
|
||||||
config.run(pac);
|
config.run(pac);
|
||||||
//let mut child = config.run(pac);
|
|
||||||
//child.wait().expect("Failed to wait on child");
|
|
||||||
std::process::exit(0);
|
std::process::exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +32,6 @@ fn main() {
|
|||||||
let xbps = PackageManager::xbps();
|
let xbps = PackageManager::xbps();
|
||||||
|
|
||||||
let managers: Vec<PackageManager> = vec![pacmatic, pacman, aptget, xbps];
|
let managers: Vec<PackageManager> = vec![pacmatic, pacman, aptget, xbps];
|
||||||
//let managers: Vec<PackageManager> = vec![pacmatic];
|
|
||||||
|
|
||||||
let mut found: bool = false;
|
let mut found: bool = false;
|
||||||
for prog in managers {
|
for prog in managers {
|
||||||
@ -64,11 +61,6 @@ fn main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
let mut child = config.run(prog);
|
|
||||||
child.wait().expect("Failed to wait on child");
|
|
||||||
*/
|
|
||||||
config.run(prog);
|
config.run(prog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user