add new line on read

This commit is contained in:
Luis Guzmán 2020-04-15 00:34:29 -05:00
parent 6b75fb7bdc
commit ab1f862cdc
1 changed files with 6 additions and 6 deletions

View File

@ -74,7 +74,7 @@ else
# Seems to be an issue with your audio driver, # Seems to be an issue with your audio driver,
# please review your hw setup. # please review your hw setup.
#--------------------------------------------------" #--------------------------------------------------"
read -n 1 -s -r -p "Press any key to continue... read -n 1 -s -r -p "Press any key to continue...$'\n'
" "
fi fi
} }
@ -115,7 +115,7 @@ Learn more about these at,
Main repository: https://github.com/switnet-ltd/quick-jibri-installer Main repository: https://github.com/switnet-ltd/quick-jibri-installer
Wiki and documentation: https://github.com/switnet-ltd/quick-jibri-installer/wiki Wiki and documentation: https://github.com/switnet-ltd/quick-jibri-installer/wiki
' '
read -n 1 -s -r -p "Press any key to continue..." read -n 1 -s -r -p "Press any key to continue..."$'\n'
#Check if user is root #Check if user is root
if ! [ $(id -u) = 0 ]; then if ! [ $(id -u) = 0 ]; then
@ -134,7 +134,7 @@ fi
if [ "$DIST" = "xenial" ]; then if [ "$DIST" = "xenial" ]; then
echo "$(lsb_release -sc), even when it's compatible and functional. echo "$(lsb_release -sc), even when it's compatible and functional.
We suggest to use the next (LTS) release, for longer support and security reasons." We suggest to use the next (LTS) release, for longer support and security reasons."
read -n 1 -s -r -p "Press any key to continue..." read -n 1 -s -r -p "Press any key to continue..."$'\n'
fi fi
# Jitsi-Meet Repo # Jitsi-Meet Repo
echo "Add Jitsi key" echo "Add Jitsi key"
@ -237,7 +237,7 @@ echo "
Remove Chrome warning... Remove Chrome warning...
" "
mkdir -p /etc/opt/chrome/policies/managed mkdir -p /etc/opt/chrome/policies/managed
echo '{ "CommandLineFlagSecurityWarningsEnabled": false }' >> $GCMP_JSON echo '{ "CommandLineFlagSecurityWarningsEnabled": false }' > $GCMP_JSON
echo ' echo '
######################################################################## ########################################################################
@ -317,12 +317,12 @@ done
echo "We'll take a minute to localize some UI excerpts if you need." echo "We'll take a minute to localize some UI excerpts if you need."
#Participant #Participant
echo "> Do you want to translate 'Participant' to your own language?" echo "> Do you want to translate 'Participant' to your own language?"
read -p "Leave empty to use the default one (English): " L10N_PARTICIPANT read -p "Leave empty to use the default one (English): "$'\n' L10N_PARTICIPANT
#Me #Me
echo "> Do you want to translate 'me' to your own language? echo "> Do you want to translate 'me' to your own language?
This must be a really small word to present one self. This must be a really small word to present one self.
Some suggestions might be: yo (Spanish) | je (French) | ich (German)" Some suggestions might be: yo (Spanish) | je (French) | ich (German)"
read -p "Leave empty to use the default one (English): " L10N_ME read -p "Leave empty to use the default one (English): "$'\n' L10N_ME
#Welcome Page #Welcome Page
while [[ $ENABLE_WELCP != yes && $ENABLE_WELCP != no ]] while [[ $ENABLE_WELCP != yes && $ENABLE_WELCP != no ]]
do do