chore(default-flatpaks): Add ERROR: to the error log for verifying flatpak IDs from FlatHub
Makes it more readable & clearer at the start
This commit is contained in:
parent
f7027fe138
commit
bb3492b1e9
1 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ check_flatpak_id_validity_from_flathub () {
|
||||||
if [[ ${#INSTALL[@]} -gt 0 ]]; then
|
if [[ ${#INSTALL[@]} -gt 0 ]]; then
|
||||||
for id in "${INSTALL[@]}"; do
|
for id in "${INSTALL[@]}"; do
|
||||||
if ! curl --output /dev/null --silent --head --fail "${URL}/${id}"; then
|
if ! curl --output /dev/null --silent --head --fail "${URL}/${id}"; then
|
||||||
echo "This ${INSTALL_LEVEL} install flatpak ID '${id}' doesn't exist in FlatHub repo, please check if you typed it correctly in the recipe."
|
echo "ERROR: This ${INSTALL_LEVEL} install flatpak ID '${id}' doesn't exist in FlatHub repo, please check if you typed it correctly in the recipe."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
@ -130,7 +130,7 @@ check_flatpak_id_validity_from_flathub () {
|
||||||
if [[ ${#REMOVE[@]} -gt 0 ]]; then
|
if [[ ${#REMOVE[@]} -gt 0 ]]; then
|
||||||
for id in "${REMOVE[@]}"; do
|
for id in "${REMOVE[@]}"; do
|
||||||
if ! curl --output /dev/null --silent --head --fail "${URL}/${id}"; then
|
if ! curl --output /dev/null --silent --head --fail "${URL}/${id}"; then
|
||||||
echo "This ${INSTALL_LEVEL} removal flatpak ID '${id}' doesn't exist in FlatHub repo, please check if you typed it correctly in the recipe."
|
echo "ERROR: This ${INSTALL_LEVEL} removal flatpak ID '${id}' doesn't exist in FlatHub repo, please check if you typed it correctly in the recipe."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue