Skip to content

Commit

Permalink
Fix debug package instals
Browse files Browse the repository at this point in the history
Fixes #1192
  • Loading branch information
Morganamilo committed Dec 27, 2024
1 parent 6a26a3b commit d0329e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,6 @@ impl Installer {
bail!(tr!("package list does not match srcinfo"));
}

let debug_paths = self.debug_paths(config, base, &pkgdests)?;

let needs_build = needs_build(config, base, &pkgdests, &version);
if needs_build {
// actual build
Expand Down Expand Up @@ -612,6 +610,8 @@ impl Installer {
)
}

let debug_paths = self.debug_paths(config, base, &pkgdests)?;

self.add_pkg(config, base, repo, &pkgdests, &debug_paths)?;
self.queue_install(base, &pkgdests, &debug_paths);
Ok((pkgdests, version))
Expand Down

0 comments on commit d0329e3

Please sign in to comment.