Revert "package_info: drop the ANSI color from the not-found warning"

This reverts commit 4fae02bc85.
This commit is contained in:
2026-09-19 00:39:29 +02:00
parent 4fae02bc85
commit bd8f814a53
+3 -2
View File
@@ -6,6 +6,7 @@ use xz2::read::XzDecoder;
use crate::ProgressCallback;
use crate::apt::release::{self, VerifiedRelease};
use crossterm::style::Stylize;
use log::{debug, warn};
/// Split a PPA reference into its `(user, name)` parts
@@ -523,9 +524,9 @@ async fn find_package(
Ok(info) => {
if i > 0 {
let location = if p.is_empty() {
format!("{dist}/{series}")
format!("{}/{}", dist, series).cyan()
} else {
format!("{dist}/{series}-{p}")
format!("{}/{}-{}", dist, series, p).cyan()
};
warn!(
"Package '{}' not found in development release. Found in {}.",