Browse Source

finalize no longer independently runnable

tags/v3.1
Luke Smith 5 years ago
parent
commit
d1e7f448df
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      mw

+ 4
- 6
mw View File

@@ -336,9 +336,8 @@ EOF


What would you like \033[32mmutt-wizard\033[0m to do? What would you like \033[32mmutt-wizard\033[0m to do?
1 Add an email account 1 Add an email account
2 Autodetect mailboxes
3 Change an account's password
4 Remove an account
2 Change an account's password
3 Remove an account
5 Change GPG key pair used for encryption 5 Change GPG key pair used for encryption
6 Delete all account data 6 Delete all account data
7 Enable/disable autosync 7 Enable/disable autosync
@@ -349,9 +348,8 @@ Input a number to continue or press ctrl-c.\\n"
printf "\033[0m" printf "\033[0m"
case "$choice" in case "$choice" in
1) addtype ;; 1) addtype ;;
2) pick finalize && finalize ;;
3) pick "change the password of" && confirm "change the password of" && getpass ;;
4) pick delete && confirm "delete the \`$title\` profile" && delete ;;
2) pick "change the password of" && confirm "change the password of" && getpass ;;
3) pick delete && confirm "delete the \`$title\` profile" && delete ;;
5) askgpg ;; 5) askgpg ;;
6) confirm "delete all account data" && wipe && rm -ri "$mbsyncrc" "$accdir" "$creddir" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;; 6) confirm "delete all account data" && wipe && rm -ri "$mbsyncrc" "$accdir" "$creddir" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;;
7) choosecron ;; 7) choosecron ;;


Loading…
Cancel
Save