Removed yum support.
This commit is contained in:
parent
acd449e206
commit
819c55365c
1 changed files with 0 additions and 12 deletions
|
@ -121,18 +121,6 @@ fn main() {
|
|||
let _output = cmd.wait();
|
||||
}
|
||||
|
||||
// yum
|
||||
cprintln!("<bold><rev><red>Checking for yum</red></rev></bold>");
|
||||
let path = Path::new(&yum_bin);
|
||||
if path.exists(){
|
||||
let mut cmd =
|
||||
Command::new(&sudo_bin)
|
||||
.arg(&yum_bin).arg("--refresh").arg("--skip-broken").arg("--nobest").arg("-y").arg("update")
|
||||
.stdout(Stdio::inherit()).stderr(Stdio::inherit())
|
||||
.spawn().unwrap();
|
||||
let _output = cmd.wait();
|
||||
}
|
||||
|
||||
// zypper
|
||||
cprintln!("<bold><rev><green>Checking for zypper</green></rev></bold>");
|
||||
let path = Path::new(&zypper_bin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue