Skip to content

Commit

Permalink
Release new version, many codes has been rewrited
Browse files Browse the repository at this point in the history
  • Loading branch information
rikonaka committed Sep 14, 2024
1 parent 56dff95 commit a4bc73f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn install_depends(package_path: &str) -> Result<()> {
.arg("--install")
.arg(package_path)
.output()?;
debug!("{}", String::from_utf8_lossy(&c.stdout));
debug!("Install output: {}", String::from_utf8_lossy(&c.stdout));
Ok(())
}

Expand Down
4 changes: 2 additions & 2 deletions src/pack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl AptDepends {
}

fn resolve_depends(package_name: &str, packags_vec: &mut Vec<String>) -> Result<Vec<AptDepends>> {
debug!("package_name: {package_name}");
debug!("Resolve package: {package_name}");
if packags_vec.contains(&package_name.to_string()) {
return Ok(vec![]);
} else {
Expand Down Expand Up @@ -116,7 +116,7 @@ pub fn pack_deb(package_name: &str) -> Result<()> {
let mut packages_map = HashMap::new();
for p in &packages_vec {
let package_full_name = download_depends(p, &target_dir)?;
info!("downloading package: {p}[{package_full_name}]");
info!("Downloading package: {p}[{package_full_name}]");
packages_map.insert(p.to_string(), package_full_name);
}

Expand Down

0 comments on commit a4bc73f

Please sign in to comment.