|
|
|
@ -2,7 +2,6 @@ use git2::Repository;
|
|
|
|
|
use std::{fs, path::Path, process::Command};
|
|
|
|
|
|
|
|
|
|
pub fn clone(pkg: &str, cachedir: &str) {
|
|
|
|
|
print!("{}", cachedir);
|
|
|
|
|
let error = format!("Couldn't install {}", &pkg);
|
|
|
|
|
let path = Path::new(&cachedir);
|
|
|
|
|
let results = raur::search(&pkg).expect(&error);
|
|
|
|
|