remove msbync profile for online accounts after -l
This commit is contained in:
parent
cc4f01090f
commit
7f007a7aab
1
mw
1
mw
@ -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…
Reference in New Issue
Block a user