|
|
@ -24,16 +24,16 @@ pub fn sort(input: &[String], options: Options) -> structs::Sorted {
|
|
|
|
.status()
|
|
|
|
.status()
|
|
|
|
.expect("Something has gone wrong");
|
|
|
|
.expect("Something has gone wrong");
|
|
|
|
|
|
|
|
|
|
|
|
if rpc::rpcinfo(b.to_string()).found {
|
|
|
|
if let Some(0) = rs.code() {
|
|
|
|
if verbosity >= 1 {
|
|
|
|
|
|
|
|
log(format!("{} found in AUR", b));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
aur.push(b.to_string());
|
|
|
|
|
|
|
|
} else if let Some(0) = rs.code() {
|
|
|
|
|
|
|
|
if verbosity >= 1 {
|
|
|
|
if verbosity >= 1 {
|
|
|
|
log(format!("{} found in repos", b));
|
|
|
|
log(format!("{} found in repos", b));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repo.push(b.to_string());
|
|
|
|
repo.push(b.to_string());
|
|
|
|
|
|
|
|
} else if rpc::rpcinfo(b.to_string()).found {
|
|
|
|
|
|
|
|
if verbosity >= 1 {
|
|
|
|
|
|
|
|
log(format!("{} found in AUR", b));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
aur.push(b.to_string());
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if verbosity >= 1 {
|
|
|
|
if verbosity >= 1 {
|
|
|
|
log(format!("{} not found", b));
|
|
|
|
log(format!("{} not found", b));
|
|
|
|