Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasya Novikov committed Oct 31, 2018
1 parent 4a39a05 commit 5a05666
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/aur.rs
Expand Up @@ -25,7 +25,6 @@ pub fn fresh_download(name: &str, dirs: &ProjectDirs) {
fs::create_dir_all(dirs.cache_dir().join(name)).expect(&format!("Failed to create cache dir for {}", name));
env::set_current_dir(dirs.cache_dir().join(name)).expect(&format!("Faild to cd into build dir for {}", name));
let dir = "aur.tmp";
fs::remove_dir_all(dir).ok();
let git_http_ref = format!("https://aur.archlinux.org/{}.git", name);
let command = Command::new("git").args(&["clone", &git_http_ref, dir])
.output().expect(&format!("Failed to git-clone repository {}", name));
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -13,8 +13,8 @@ extern crate tar;
#[macro_use] extern crate log;

mod aur;
mod pacman;
mod cli_args;
mod pacman;
mod tar_check;
mod util;
mod wrapped;
Expand Down

0 comments on commit 5a05666

Please sign in to comment.