Skip to content

Commit 50ed8f1

Browse files
committed
scripts: dasharo-deploy: add some collors to output
Signed-off-by: Daniil Klimuk <[email protected]>
1 parent 54ab9a7 commit 50ed8f1

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

scripts/dasharo-deploy

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ ask_for_version() {
9090
while : ; do
9191
echo
9292
echo "Please, select Dasharo firmware version to install:"
93+
echo
9394

9495
# Here we check if user has access to a certain version of Dasharo Firmware.
9596
# The check consists of two stages:
@@ -110,9 +111,11 @@ ask_for_version() {
110111
echo " d) DPP version (coreboot + UEFI)"
111112
_might_be_dpp="true"
112113
else
113-
echo " DPP version (coreboot + UEFI) available but you don't have access"
114-
echo " to it, if you are interested, please visit"
115-
echo " https://shop.3mdeb.com/product-category/dasharo-pro-package/"
114+
print_warning " DPP version (coreboot + UEFI) available but you don't have access"
115+
print_warning " to it, if you are interested, please visit"
116+
print_warning " https://shop.3mdeb.com/product-category/dasharo-pro-package/"
117+
118+
echo
116119
fi
117120
fi
118121

@@ -121,9 +124,11 @@ ask_for_version() {
121124
echo " s) DPP version (coreboot + SeaBIOS)"
122125
_might_be_seabios="true"
123126
else
124-
echo " DPP version (coreboot + SeaBIOS) available but you don't have access"
125-
echo " to it, if you are interested, please visit"
126-
echo " https://shop.3mdeb.com/product-category/dasharo-pro-package/"
127+
print_warning " DPP version (coreboot + SeaBIOS) available but you don't have access"
128+
print_warning " to it, if you are interested, please visit"
129+
print_warning " https://shop.3mdeb.com/product-category/dasharo-pro-package/"
130+
131+
echo
127132
fi
128133
fi
129134

0 commit comments

Comments
 (0)