mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2025-11-09 13:39:49 +00:00
chore: update color for text
This commit is contained in:
parent
2c03f13f75
commit
b0f08c6bfd
1 changed files with 3 additions and 2 deletions
|
|
@ -17,8 +17,9 @@ fn main() -> Result<()> {
|
||||||
"CKAN 2.11.3".if_supports_color(Stdout, |text| text.on_blue().white())
|
"CKAN 2.11.3".if_supports_color(Stdout, |text| text.on_blue().white())
|
||||||
);
|
);
|
||||||
println!(
|
println!(
|
||||||
"This installer is also only intended for a brand new installation of {}.\n",
|
"{}",
|
||||||
"Ubuntu 22.04".if_supports_color(Stdout, |text| text.on_blue().white())
|
"This installer is only intended for a brand new installation of Ubuntu 22.04."
|
||||||
|
.if_supports_color(Stdout, |text| text.on_bright_red().white())
|
||||||
);
|
);
|
||||||
let ans = Confirm::new("Would you like to begin the installation?")
|
let ans = Confirm::new("Would you like to begin the installation?")
|
||||||
.with_default(false)
|
.with_default(false)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue