cont removed

This commit is contained in:
Luke Smith 2019-04-20 18:26:08 -04:00
parent 51f9530a4e
commit a31614d38b
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

11
mw
View File

@ -140,7 +140,6 @@ EOF
protonmail.*) printf "\033[31mREMEMBER: Protonmail users must install and configure Protonmail Bridge first for the sync to work:\\nhttps://protonmail.com/bridge/\\n\033[0m" ;;
esac
fi
cont
printf "Enter the \033[35mfull name\033[0m you want to be identified by on this account.\\n\tReal name: "
read -r realname
printf "Enter a short, \033[36mone-word identifier\033[0m for this email account that will distinguish them from any other accounts you add.\\n\tAccount name: "
@ -260,11 +259,6 @@ choosecron() { ! pgrep crond >/dev/null && echo "No cron manager running. Instal
echo "Cronjob added. Mail will sync every $minnum minutes. Be sure you have your cron manager running."
fi ;}
cont() { printf "Press Enter to continue.\\n"
stty -echo
read -r
stty echo ; }
addtype() { ! command -v mbsync >/dev/null && printf "You must have the \`mbsync\` command to add an account.\\nIt syncs mail and detects remote mailboxes.\\nYou can typically get it by installing \`isync\`.\\n" && return 1
while : ; do
echo "Do you want to keep your mail for this account offline with mbsync? [yes/no]"
@ -308,7 +302,10 @@ Input a number to continue or press ctrl-c.\\n"
0) break ;;
*) printf "Invalid input.\\n"
esac
cont
printf "Press Enter to continue.\\n"
stty -echo
read -r null
stty echo
done ;}
main