|
@@ -153,7 +153,7 @@ EOF |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
delete() { if [ -z "${fulladdr+x}" ]; then |
|
|
delete() { if [ -z "${fulladdr+x}" ]; then |
|
|
echo "Select the account your would like to delete (by number):" |
|
|
|
|
|
|
|
|
echo "Select the account you would like to delete (by number):" |
|
|
list || exit 1 |
|
|
list || exit 1 |
|
|
read -r input |
|
|
read -r input |
|
|
match="^$input:" |
|
|
match="^$input:" |
|
@@ -357,7 +357,7 @@ esac done |
|
|
|
|
|
|
|
|
case "$action" in |
|
|
case "$action" in |
|
|
list) list ;; |
|
|
list) list ;; |
|
|
add) checkbasics && askinfo && getboxes && getprofiles && finalize || { delete ; exit 1 ;} ;; |
|
|
|
|
|
|
|
|
add) checkbasics && askinfo && getboxes && getprofiles && finalize ;; |
|
|
delete) delete ;; |
|
|
delete) delete ;; |
|
|
sync) mailsync $fulladdr ;; |
|
|
sync) mailsync $fulladdr ;; |
|
|
toggle) togglecron ;; |
|
|
toggle) togglecron ;; |
|
|