From d0329e3e39f33a0bbc6de77e6fa19aa6d0cac5c2 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Fri, 27 Dec 2024 21:40:30 +0000 Subject: [PATCH] Fix debug package instals Fixes #1192 --- src/install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.rs b/src/install.rs index ca759441..be601f28 100644 --- a/src/install.rs +++ b/src/install.rs @@ -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 @@ -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))