Guard tput calls for errors from CI (#827)

This commit is contained in:
Andrew
2022-07-21 09:46:52 -05:00
committed by Jamil
parent df969bdb23
commit ef7ee0eebe
3 changed files with 42 additions and 15 deletions

View File

@@ -43,11 +43,20 @@ rm -rf \
echo 'Done! Firezone has been uninstalled.'
bold=$(tput bold)
normal=$(tput sgr0)
if tput bold; then
bold=$(tput bold)
else
bold=''
fi
if tput sgr0; then
normal=$(tput sgr0)
else
normal=''
fi
echo $bold
echo 'We rely on feedback from users to steer development.' \
'Would you mind taking a minute to share product feedback in exchange' \
'for some Firezone stickers?'
'Would you mind taking a minute to share product feedback in exchange' \
'for some Firezone stickers?'
echo "https://firezone.dev/feedback#source=uninstall-script"
echo $normal