Browse Source

remove msbync profile for online accounts after -l

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

+ 1
- 0
mw View File

@@ -188,6 +188,7 @@ trysync() { \
else else
printf "\033[31m\033[31mSync not successful.\033[0m Try running \`mbsync %s\` manually after double-checking your password and server settings.\\nThen select to finalize the account.\\n" "$title"; return 1 printf "\033[31m\033[31mSync not successful.\033[0m Try running \`mbsync %s\` manually after double-checking your password and server settings.\\nThen select to finalize the account.\\n" "$title"; return 1
fi fi
[ "$accounttype" = "online" ] && sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc"
} }


finalize() { \ finalize() { \


Loading…
Cancel
Save